lamin_cli 1.11.0__tar.gz → 1.12.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/.github/workflows/build.yml +73 -82
  2. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/.github/workflows/doc-changes.yml +23 -23
  3. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/.gitignore +196 -195
  4. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/.pre-commit-config.yaml +40 -40
  5. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/LICENSE +201 -201
  6. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/PKG-INFO +3 -2
  7. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/README.md +3 -3
  8. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/lamin_cli/__init__.py +27 -27
  9. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/lamin_cli/__main__.py +826 -625
  10. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/lamin_cli/_annotate.py +47 -47
  11. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/lamin_cli/_cache.py +49 -41
  12. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/lamin_cli/_context.py +76 -76
  13. lamin_cli-1.12.1/lamin_cli/_delete.py +85 -0
  14. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/lamin_cli/_io.py +147 -144
  15. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/lamin_cli/_load.py +203 -203
  16. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/lamin_cli/_migration.py +50 -50
  17. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/lamin_cli/_save.py +350 -325
  18. lamin_cli-1.12.1/lamin_cli/_settings.py +154 -0
  19. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/lamin_cli/clone/_clone_verification.py +56 -56
  20. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/lamin_cli/clone/create_sqlite_clone_and_import_db.py +53 -51
  21. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/lamin_cli/compute/modal.py +174 -175
  22. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/lamin_cli/urls.py +10 -8
  23. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/noxfile.py +13 -13
  24. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/pyproject.toml +114 -114
  25. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/core/conftest.py +18 -18
  26. lamin_cli-1.12.1/tests/core/test_create_switch_delete_list_settings.py +196 -0
  27. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/core/test_io.py +48 -48
  28. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/core/test_load.py +113 -113
  29. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/core/test_login.py +45 -45
  30. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/core/test_migrate.py +40 -40
  31. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/core/test_multi_process.py +35 -35
  32. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/core/test_parse_uid_from_code.py +117 -117
  33. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/core/test_save_annotate_files.py +150 -130
  34. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/core/test_save_annotate_scripts.py +326 -282
  35. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/core/test_save_notebooks.py +287 -285
  36. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/core/test_save_r_code.py +75 -75
  37. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/core/test_save_shell_script.py +38 -38
  38. lamin_cli-1.12.1/tests/core/test_save_transform_branch_errors.py +35 -0
  39. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/core/test_track.py +65 -65
  40. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/modal/test_modal.py +18 -19
  41. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/notebooks/not-initialized.ipynb +39 -39
  42. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/notebooks/with-title-and-initialized-consecutive.ipynb +55 -55
  43. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/notebooks/with-title-and-initialized-non-consecutive.ipynb +96 -96
  44. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/scripts/merely-import-lamindb.py +4 -4
  45. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/scripts/run-track-and-finish-sync-git.py +16 -16
  46. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/scripts/run-track-and-finish.py +11 -11
  47. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/scripts/run-track-with-params.py +22 -22
  48. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/scripts/run-track.R +20 -20
  49. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/scripts/run-track.qmd +3 -3
  50. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/scripts/testscript.py +2 -2
  51. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/tests/scripts/track-lineage.sh +15 -15
  52. lamin_cli-1.11.0/lamin_cli/_delete.py +0 -44
  53. lamin_cli-1.11.0/lamin_cli/_settings.py +0 -96
  54. lamin_cli-1.11.0/tests/core/test_create_switch_delete_list_settings.py +0 -83
  55. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/lamin_cli/clone/__init__.py +0 -0
  56. {lamin_cli-1.11.0 → lamin_cli-1.12.1}/lamin_cli/compute/__init__.py +0 -0
@@ -1,82 +1,73 @@
1
- name: build
2
-
3
- on:
4
- push:
5
- branches: [release]
6
- pull_request:
7
-
8
- jobs:
9
- pre-filter:
10
- runs-on: ubuntu-latest
11
- outputs:
12
- matrix: ${{ steps.set-matrix.outputs.matrix }}
13
- steps:
14
- - uses: actions/checkout@v5
15
- with:
16
- fetch-depth: 0
17
-
18
- - uses: dorny/paths-filter@v3
19
- id: changes
20
- if: github.event_name != 'push'
21
- with:
22
- filters: |
23
- modal:
24
- - 'lamin_cli/compute/modal.py'
25
- - 'tests/modal/**'
26
-
27
- - id: set-matrix
28
- shell: bash
29
- run: |
30
- BASE_GROUPS=$(jq -n -c '[]')
31
-
32
- if [[ "${{ github.event_name }}" == "push" || "${{ steps.changes.outputs.modal }}" == "true" ]]; then
33
- # Run everything on push or when modal paths change
34
- MATRIX=$(jq -n -c --argjson groups "$BASE_GROUPS" '{group: ($groups + ["modal"])}')
35
- else
36
- # Otherwise only run base groups
37
- MATRIX=$(jq -n -c --argjson groups "$BASE_GROUPS" '{group: $groups}')
38
- fi
39
-
40
- # Output as single line for GitHub Actions
41
- echo "matrix=$(echo "$MATRIX" | jq -c .)" >> $GITHUB_OUTPUT
42
-
43
- # Pretty print for debugging
44
- echo "Generated matrix:"
45
- echo "$MATRIX" | jq .
46
-
47
- test:
48
- needs: pre-filter
49
- runs-on: ubuntu-latest
50
- env:
51
- LAMIN_API_KEY: ${{ secrets.LAMIN_API_KEY_TESTUSER1 }}
52
- strategy:
53
- fail-fast: false
54
- matrix: ${{fromJson(needs.pre-filter.outputs.matrix)}}
55
- timeout-minutes: 20
56
- steps:
57
- - uses: actions/checkout@v5
58
- with:
59
- submodules: recursive
60
- fetch-depth: 0
61
-
62
- - uses: actions/setup-python@v6
63
- with:
64
- python-version: 3.12
65
-
66
- - name: cache pre-commit
67
- uses: actions/cache@v4
68
- with:
69
- path: ~/.cache/pre-commit
70
- key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
71
-
72
- - run: pip install git+https://github.com/laminlabs/laminci
73
-
74
- - run: uv pip install --system modal pytest
75
-
76
- - run: modal token set --token-id ${{ secrets.MODAL_DEV_TOKEN_ID }} --token-secret ${{ secrets.MODAL_DEV_TOKEN_SECRET }}
77
-
78
- - run: nox -s setup
79
-
80
- - run: lamin login
81
-
82
- - run: pytest tests/modal
1
+ name: build
2
+
3
+ on:
4
+ push:
5
+ branches: [release, main]
6
+ pull_request:
7
+
8
+ jobs:
9
+ pre-filter:
10
+ runs-on: ubuntu-latest
11
+ outputs:
12
+ matrix: ${{ steps.set-matrix.outputs.matrix }}
13
+ has_groups: ${{ steps.set-matrix.outputs.has_groups }}
14
+ steps:
15
+ - uses: actions/checkout@v5
16
+ with:
17
+ fetch-depth: 0
18
+ - uses: dorny/paths-filter@v3
19
+ id: changes
20
+ if: github.event_name != 'push'
21
+ with:
22
+ filters: |
23
+ modal:
24
+ - 'lamin_cli/compute/modal.py'
25
+ - 'tests/modal/**'
26
+ - id: set-matrix
27
+ shell: bash
28
+ run: |
29
+ BASE_GROUPS=$(jq -n -c '[]')
30
+ # Run everything on push or when modal paths change
31
+ if [[ "${{ github.event_name }}" == "push" || "${{ steps.changes.outputs.modal }}" == "true" ]]; then
32
+ MATRIX=$(jq -n -c --argjson groups "$BASE_GROUPS" '{group: ($groups + ["modal"])}')
33
+ echo "has_groups=true" >> $GITHUB_OUTPUT
34
+ # Otherwise only run base groups
35
+ else
36
+ MATRIX=$(jq -n -c --argjson groups "$BASE_GROUPS" '{group: $groups}')
37
+ echo "has_groups=false" >> $GITHUB_OUTPUT
38
+ fi
39
+ # Output as single line for GitHub Actions
40
+ echo "matrix=$(echo "$MATRIX" | jq -c .)" >> $GITHUB_OUTPUT
41
+ # Pretty print for debugging
42
+ echo "Generated matrix:"
43
+ echo "$MATRIX" | jq .
44
+
45
+ test:
46
+ needs: pre-filter
47
+ if: needs.pre-filter.outputs.has_groups == 'true'
48
+ runs-on: ubuntu-latest
49
+ env:
50
+ LAMIN_API_KEY: ${{ secrets.LAMIN_API_KEY_TESTUSER1 }}
51
+ strategy:
52
+ fail-fast: false
53
+ matrix: ${{fromJson(needs.pre-filter.outputs.matrix)}}
54
+ timeout-minutes: 20
55
+ steps:
56
+ - uses: actions/checkout@v5
57
+ with:
58
+ submodules: recursive
59
+ fetch-depth: 0
60
+ - uses: actions/setup-python@v6
61
+ with:
62
+ python-version: 3.12
63
+ - name: cache pre-commit
64
+ uses: actions/cache@v4
65
+ with:
66
+ path: ~/.cache/pre-commit
67
+ key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
68
+ - run: pip install git+https://github.com/laminlabs/laminci
69
+ - run: uv pip install --system modal pytest
70
+ - run: modal token set --token-id ${{ secrets.MODAL_DEV_TOKEN_ID }} --token-secret ${{ secrets.MODAL_DEV_TOKEN_SECRET }}
71
+ - run: nox -s setup
72
+ - run: lamin login
73
+ - run: pytest tests/modal
@@ -1,23 +1,23 @@
1
- name: doc-changes
2
-
3
- on:
4
- pull_request_target:
5
- branches:
6
- - main
7
- types:
8
- - closed
9
-
10
- jobs:
11
- latest-changes:
12
- runs-on: ubuntu-latest
13
- steps:
14
- - uses: actions/checkout@v4
15
- - uses: actions/setup-python@v5
16
- with:
17
- python-version: "3.11"
18
- - run: pip install "laminci[doc-changes]@git+https://x-access-token:${{ secrets.LAMIN_BUILD_DOCS }}@github.com/laminlabs/laminci"
19
- - run: laminci doc-changes
20
- env:
21
- repo_token: ${{ secrets.GITHUB_TOKEN }}
22
- docs_token: ${{ secrets.LAMIN_BUILD_DOCS }}
23
- changelog_file: lamin-docs/docs/changelog/soon/lamindb.md
1
+ name: doc-changes
2
+
3
+ on:
4
+ pull_request_target:
5
+ branches:
6
+ - main
7
+ types:
8
+ - closed
9
+
10
+ jobs:
11
+ latest-changes:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: actions/setup-python@v5
16
+ with:
17
+ python-version: "3.11"
18
+ - run: pip install "laminci[doc-changes]@git+https://x-access-token:${{ secrets.LAMIN_BUILD_DOCS }}@github.com/laminlabs/laminci"
19
+ - run: laminci doc-changes
20
+ env:
21
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
22
+ docs_token: ${{ secrets.LAMIN_BUILD_DOCS }}
23
+ changelog_file: lamin-docs/docs/changelog/soon/lamindb.md
@@ -1,195 +1,196 @@
1
- # LaminDB
2
- modal_mount_dir/
3
- lamindb_docs/
4
- _build
5
- mydata/
6
- lamin-intro/
7
- lamin-tutorial/
8
- mytest/
9
- rds/
10
- mydb/
11
- bfx-output/
12
- scrnaseq-cellranger/
13
- scrnaseq-cellranger-schmidt22/
14
- cellranger_run_001
15
- __MACOSX/
16
- docs/lamindb.*
17
- lamin_sphinx
18
- docs/conf.py
19
- *.db
20
- *.lndb
21
- *.zarr/
22
- lamindb/setup/.env
23
- _secrets.py
24
- _configuration.py
25
- docs/generated/*
26
- _docs_tmp*
27
- docs/guide/Laminopathic_nuclei.jpg
28
- docs/guide/paradisi05_laminopathic_nuclei.jpg
29
- nocodb
30
- docs/guide/SRR4238351_subsamp.fastq.gz
31
- docs/faq/paradisi05_laminopathic_nuclei.jpg
32
- docs/faq/tostore/
33
- docs/faq/mydata_postgres/
34
- docs/guide/myobjects/
35
- docs/faq/test-run-inputs/
36
- docs/intro/paradisi05_laminopathic_nuclei.jpg
37
- docs/guide/figures/
38
- suo22/
39
- docs/biology/test-flow/
40
- docs/biology/test-scrna/
41
- docs/biology/test-registries/
42
- docs/biology/test-multimodal/
43
- test.ipynb
44
-
45
- # General
46
- .DS_Store
47
-
48
- # Byte-compiled / optimized / DLL files
49
- __pycache__/
50
- *.py[cod]
51
- *$py.class
52
-
53
- # C extensions
54
- *.so
55
-
56
- # Distribution / packaging
57
- .Python
58
- build/
59
- develop-eggs/
60
- dist/
61
- caches/
62
- eggs/
63
- .eggs/
64
- lib/
65
- lib64/
66
- parts/
67
- sdist/
68
- var/
69
- wheels/
70
- pip-wheel-metadata/
71
- share/python-wheels/
72
- *.egg-info/
73
- .installed.cfg
74
- *.egg
75
- MANIFEST
76
-
77
- # PyInstaller
78
- # Usually these files are written by a python script from a template
79
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
80
- *.manifest
81
- *.spec
82
-
83
- # Installer logs
84
- pip-log.txt
85
- pip-delete-this-directory.txt
86
-
87
- # Unit test / coverage reports
88
- htmlcov/
89
- .tox/
90
- .nox/
91
- .coverage
92
- .coverage.*
93
- .cache
94
- nosetests.xml
95
- coverage.xml
96
- *.cover
97
- *.py,cover
98
- .hypothesis/
99
- .pytest_cache/
100
-
101
- # Translations
102
- *.mo
103
- *.pot
104
-
105
- # Django stuff:
106
- *.log
107
- local_settings.py
108
- db.sqlite3
109
- db.sqlite3-journal
110
-
111
- # Flask stuff:
112
- instance/
113
- .webassets-cache
114
-
115
- # Scrapy stuff:
116
- .scrapy
117
-
118
- # Sphinx documentation
119
- docs/_build/
120
-
121
- # PyBuilder
122
- target/
123
-
124
- # Jupyter Notebook
125
- .ipynb_checkpoints
126
-
127
- # IPython
128
- profile_default/
129
- ipython_config.py
130
-
131
- # pyenv
132
- .python-version
133
-
134
- # pipenv
135
- # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
136
- # However, in case of collaboration, if having platform-specific dependencies or dependencies
137
- # having no cross-platform support, pipenv may install dependencies that don't work, or not
138
- # install all needed dependencies.
139
- #Pipfile.lock
140
-
141
- # PEP 582; used by e.g. github.com/David-OConnor/pyflow
142
- __pypackages__/
143
-
144
- # Celery stuff
145
- celerybeat-schedule
146
- celerybeat.pid
147
-
148
- # SageMath parsed files
149
- *.sage.py
150
-
151
- # Environments
152
- .env
153
- .venv
154
- env/
155
- venv/
156
- ENV/
157
- env.bak/
158
- venv.bak/
159
-
160
- # Spyder project settings
161
- .spyderproject
162
- .spyproject
163
-
164
- # Rope project settings
165
- .ropeproject
166
-
167
- # mkdocs documentation
168
- /site
169
-
170
- # mypy
171
- .mypy_cache/
172
- .dmypy.json
173
- dmypy.json
174
-
175
- # ruff
176
- .ruff_cache
177
-
178
- # Pyre type checker
179
- .pyre/
180
-
181
- # data files
182
- data/
183
- _build
184
- *.csv
185
- *.fcs
186
- *.zip
187
- *.feather
188
- *.h5ad
189
- *.h5mu
190
- *.parquet
191
- *.bam
192
- *.fastq.gz
193
-
194
- # Pycharm
195
- .idea
1
+ # LaminDB
2
+ tests/core/tmp_cache_test/
3
+ modal_mount_dir/
4
+ lamindb_docs/
5
+ _build
6
+ mydata/
7
+ lamin-intro/
8
+ lamin-tutorial/
9
+ mytest/
10
+ rds/
11
+ mydb/
12
+ bfx-output/
13
+ scrnaseq-cellranger/
14
+ scrnaseq-cellranger-schmidt22/
15
+ cellranger_run_001
16
+ __MACOSX/
17
+ docs/lamindb.*
18
+ lamin_sphinx
19
+ docs/conf.py
20
+ *.db
21
+ *.lndb
22
+ *.zarr/
23
+ lamindb/setup/.env
24
+ _secrets.py
25
+ _configuration.py
26
+ docs/generated/*
27
+ _docs_tmp*
28
+ docs/guide/Laminopathic_nuclei.jpg
29
+ docs/guide/paradisi05_laminopathic_nuclei.jpg
30
+ nocodb
31
+ docs/guide/SRR4238351_subsamp.fastq.gz
32
+ docs/faq/paradisi05_laminopathic_nuclei.jpg
33
+ docs/faq/tostore/
34
+ docs/faq/mydata_postgres/
35
+ docs/guide/myobjects/
36
+ docs/faq/test-run-inputs/
37
+ docs/intro/paradisi05_laminopathic_nuclei.jpg
38
+ docs/guide/figures/
39
+ suo22/
40
+ docs/biology/test-flow/
41
+ docs/biology/test-scrna/
42
+ docs/biology/test-registries/
43
+ docs/biology/test-multimodal/
44
+ test.ipynb
45
+
46
+ # General
47
+ .DS_Store
48
+
49
+ # Byte-compiled / optimized / DLL files
50
+ __pycache__/
51
+ *.py[cod]
52
+ *$py.class
53
+
54
+ # C extensions
55
+ *.so
56
+
57
+ # Distribution / packaging
58
+ .Python
59
+ build/
60
+ develop-eggs/
61
+ dist/
62
+ caches/
63
+ eggs/
64
+ .eggs/
65
+ lib/
66
+ lib64/
67
+ parts/
68
+ sdist/
69
+ var/
70
+ wheels/
71
+ pip-wheel-metadata/
72
+ share/python-wheels/
73
+ *.egg-info/
74
+ .installed.cfg
75
+ *.egg
76
+ MANIFEST
77
+
78
+ # PyInstaller
79
+ # Usually these files are written by a python script from a template
80
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
81
+ *.manifest
82
+ *.spec
83
+
84
+ # Installer logs
85
+ pip-log.txt
86
+ pip-delete-this-directory.txt
87
+
88
+ # Unit test / coverage reports
89
+ htmlcov/
90
+ .tox/
91
+ .nox/
92
+ .coverage
93
+ .coverage.*
94
+ .cache
95
+ nosetests.xml
96
+ coverage.xml
97
+ *.cover
98
+ *.py,cover
99
+ .hypothesis/
100
+ .pytest_cache/
101
+
102
+ # Translations
103
+ *.mo
104
+ *.pot
105
+
106
+ # Django stuff:
107
+ *.log
108
+ local_settings.py
109
+ db.sqlite3
110
+ db.sqlite3-journal
111
+
112
+ # Flask stuff:
113
+ instance/
114
+ .webassets-cache
115
+
116
+ # Scrapy stuff:
117
+ .scrapy
118
+
119
+ # Sphinx documentation
120
+ docs/_build/
121
+
122
+ # PyBuilder
123
+ target/
124
+
125
+ # Jupyter Notebook
126
+ .ipynb_checkpoints
127
+
128
+ # IPython
129
+ profile_default/
130
+ ipython_config.py
131
+
132
+ # pyenv
133
+ .python-version
134
+
135
+ # pipenv
136
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
137
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
138
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
139
+ # install all needed dependencies.
140
+ #Pipfile.lock
141
+
142
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
143
+ __pypackages__/
144
+
145
+ # Celery stuff
146
+ celerybeat-schedule
147
+ celerybeat.pid
148
+
149
+ # SageMath parsed files
150
+ *.sage.py
151
+
152
+ # Environments
153
+ .env
154
+ .venv
155
+ env/
156
+ venv/
157
+ ENV/
158
+ env.bak/
159
+ venv.bak/
160
+
161
+ # Spyder project settings
162
+ .spyderproject
163
+ .spyproject
164
+
165
+ # Rope project settings
166
+ .ropeproject
167
+
168
+ # mkdocs documentation
169
+ /site
170
+
171
+ # mypy
172
+ .mypy_cache/
173
+ .dmypy.json
174
+ dmypy.json
175
+
176
+ # ruff
177
+ .ruff_cache
178
+
179
+ # Pyre type checker
180
+ .pyre/
181
+
182
+ # data files
183
+ data/
184
+ _build
185
+ *.csv
186
+ *.fcs
187
+ *.zip
188
+ *.feather
189
+ *.h5ad
190
+ *.h5mu
191
+ *.parquet
192
+ *.bam
193
+ *.fastq.gz
194
+
195
+ # Pycharm
196
+ .idea
@@ -1,40 +1,40 @@
1
- repos:
2
- - repo: https://github.com/pre-commit/pre-commit-hooks
3
- rev: v6.0.0
4
- hooks:
5
- - id: trailing-whitespace
6
- - id: end-of-file-fixer
7
- exclude: |
8
- (?x)(
9
- .github/workflows/latest-changes.jinja2
10
- )
11
- - id: check-yaml
12
- - id: check-added-large-files
13
- - repo: https://github.com/astral-sh/ruff-pre-commit
14
- rev: v0.14.6
15
- hooks:
16
- - id: ruff-check
17
- args: [--fix, --exit-non-zero-on-fix, --unsafe-fixes]
18
- - id: ruff-format
19
- - repo: https://github.com/rbubley/mirrors-prettier
20
- rev: v3.6.2
21
- hooks:
22
- - id: prettier
23
- - repo: https://github.com/kynan/nbstripout
24
- rev: 0.3.9
25
- hooks:
26
- - id: nbstripout
27
- exclude: |
28
- (?x)(
29
- docs/examples/|
30
- docs/notes/|
31
- tests
32
- )
33
- - repo: https://github.com/pre-commit/mirrors-mypy
34
- rev: v1.18.2
35
- hooks:
36
- - id: mypy
37
- exclude: |
38
- (?x)(
39
- tests/hub-local/conftest.py
40
- )
1
+ repos:
2
+ - repo: https://github.com/pre-commit/pre-commit-hooks
3
+ rev: v6.0.0
4
+ hooks:
5
+ - id: trailing-whitespace
6
+ - id: end-of-file-fixer
7
+ exclude: |
8
+ (?x)(
9
+ .github/workflows/latest-changes.jinja2
10
+ )
11
+ - id: check-yaml
12
+ - id: check-added-large-files
13
+ - repo: https://github.com/astral-sh/ruff-pre-commit
14
+ rev: v0.14.6
15
+ hooks:
16
+ - id: ruff-check
17
+ args: [--fix, --exit-non-zero-on-fix, --unsafe-fixes]
18
+ - id: ruff-format
19
+ - repo: https://github.com/rbubley/mirrors-prettier
20
+ rev: v3.6.2
21
+ hooks:
22
+ - id: prettier
23
+ - repo: https://github.com/kynan/nbstripout
24
+ rev: 0.3.9
25
+ hooks:
26
+ - id: nbstripout
27
+ exclude: |
28
+ (?x)(
29
+ docs/examples/|
30
+ docs/notes/|
31
+ tests
32
+ )
33
+ - repo: https://github.com/pre-commit/mirrors-mypy
34
+ rev: v1.18.2
35
+ hooks:
36
+ - id: mypy
37
+ exclude: |
38
+ (?x)(
39
+ tests/hub-local/conftest.py
40
+ )