lamin_cli 0.17.2__tar.gz → 0.17.4__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.
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/.github/workflows/doc-changes.yml +23 -23
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/.gitignore +208 -208
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/.pre-commit-config.yaml +64 -64
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/LICENSE +201 -201
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/PKG-INFO +1 -1
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/README.md +3 -3
- lamin_cli-0.17.4/lamin_cli/__init__.py +3 -0
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/lamin_cli/__main__.py +303 -307
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/lamin_cli/_get.py +82 -66
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/lamin_cli/_migration.py +48 -48
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/lamin_cli/_save.py +111 -111
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/pyproject.toml +21 -21
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/tests/conftest.py +19 -19
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/tests/notebooks/not-initialized.ipynb +39 -39
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/tests/notebooks/with-title-and-initialized-consecutive.ipynb +192 -192
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/tests/notebooks/with-title-and-initialized-non-consecutive.ipynb +96 -96
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/tests/scripts/merely-import-lamindb.py +4 -4
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/tests/scripts/run-track-and-finish-sync-git.py +16 -16
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/tests/scripts/run-track-and-finish.py +14 -14
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/tests/test_cli.py +60 -42
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/tests/test_get.py +32 -31
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/tests/test_migrate.py +38 -38
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/tests/test_multi_process.py +35 -35
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/tests/test_save_files.py +33 -33
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/tests/test_save_notebooks.py +199 -199
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/tests/test_save_scripts.py +133 -133
- lamin_cli-0.17.2/lamin_cli/__init__.py +0 -3
- {lamin_cli-0.17.2 → lamin_cli-0.17.4}/lamin_cli/_cache.py +0 -0
|
@@ -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,208 +1,208 @@
|
|
|
1
|
-
# LaminDB
|
|
2
|
-
docs/guide/data-validation.ipynb
|
|
3
|
-
docs/guide/knowledge.ipynb
|
|
4
|
-
docs/guide/lnschema-bionty.ipynb
|
|
5
|
-
docs/guide/lnschema-core.ipynb
|
|
6
|
-
docs/paradisi05_laminopathic_nuclei.jpg
|
|
7
|
-
lnschema_bionty_docs/
|
|
8
|
-
lnschema_core_docs/
|
|
9
|
-
_build
|
|
10
|
-
mydata/
|
|
11
|
-
lamin-intro/
|
|
12
|
-
lamin-tutorial/
|
|
13
|
-
mytest/
|
|
14
|
-
rds/
|
|
15
|
-
mydb/
|
|
16
|
-
bfx-output/
|
|
17
|
-
scrnaseq-cellranger/
|
|
18
|
-
scrnaseq-cellranger-schmidt22/
|
|
19
|
-
cellranger_run_001
|
|
20
|
-
__MACOSX/
|
|
21
|
-
docs/lamindb.*
|
|
22
|
-
lamin_sphinx
|
|
23
|
-
docs/conf.py
|
|
24
|
-
*.db
|
|
25
|
-
*.lndb
|
|
26
|
-
*.zarr/
|
|
27
|
-
lamindb/setup/.env
|
|
28
|
-
_secrets.py
|
|
29
|
-
_configuration.py
|
|
30
|
-
lamin.db
|
|
31
|
-
docs/generated/*
|
|
32
|
-
_docs_tmp*
|
|
33
|
-
docs/guide/Laminopathic_nuclei.jpg
|
|
34
|
-
docs/guide/paradisi05_laminopathic_nuclei.jpg
|
|
35
|
-
nocodb
|
|
36
|
-
docs/guide/SRR4238351_subsamp.fastq.gz
|
|
37
|
-
docs/faq/paradisi05_laminopathic_nuclei.jpg
|
|
38
|
-
docs/faq/tostore/
|
|
39
|
-
docs/faq/mydata_postgres/
|
|
40
|
-
docs/guide/myobjects/
|
|
41
|
-
docs/faq/test-run-inputs/
|
|
42
|
-
docs/intro/paradisi05_laminopathic_nuclei.jpg
|
|
43
|
-
docs/guide/figures/
|
|
44
|
-
suo22/
|
|
45
|
-
docs/biology/test-flow/
|
|
46
|
-
docs/biology/test-scrna/
|
|
47
|
-
docs/biology/test-registries/
|
|
48
|
-
docs/biology/test-multimodal/
|
|
49
|
-
test-inherit1
|
|
50
|
-
test-inherit2
|
|
51
|
-
test-search0
|
|
52
|
-
test-search1
|
|
53
|
-
test-search2
|
|
54
|
-
test-search3
|
|
55
|
-
test-search4
|
|
56
|
-
test-search5
|
|
57
|
-
# General
|
|
58
|
-
.DS_Store
|
|
59
|
-
|
|
60
|
-
# Byte-compiled / optimized / DLL files
|
|
61
|
-
__pycache__/
|
|
62
|
-
*.py[cod]
|
|
63
|
-
*$py.class
|
|
64
|
-
|
|
65
|
-
# C extensions
|
|
66
|
-
*.so
|
|
67
|
-
|
|
68
|
-
# Distribution / packaging
|
|
69
|
-
.Python
|
|
70
|
-
build/
|
|
71
|
-
develop-eggs/
|
|
72
|
-
dist/
|
|
73
|
-
caches/
|
|
74
|
-
eggs/
|
|
75
|
-
.eggs/
|
|
76
|
-
lib/
|
|
77
|
-
lib64/
|
|
78
|
-
parts/
|
|
79
|
-
sdist/
|
|
80
|
-
var/
|
|
81
|
-
wheels/
|
|
82
|
-
pip-wheel-metadata/
|
|
83
|
-
share/python-wheels/
|
|
84
|
-
*.egg-info/
|
|
85
|
-
.installed.cfg
|
|
86
|
-
*.egg
|
|
87
|
-
MANIFEST
|
|
88
|
-
|
|
89
|
-
# PyInstaller
|
|
90
|
-
# Usually these files are written by a python script from a template
|
|
91
|
-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
92
|
-
*.manifest
|
|
93
|
-
*.spec
|
|
94
|
-
|
|
95
|
-
# Installer logs
|
|
96
|
-
pip-log.txt
|
|
97
|
-
pip-delete-this-directory.txt
|
|
98
|
-
|
|
99
|
-
# Unit test / coverage reports
|
|
100
|
-
htmlcov/
|
|
101
|
-
.tox/
|
|
102
|
-
.nox/
|
|
103
|
-
.coverage
|
|
104
|
-
.coverage.*
|
|
105
|
-
.cache
|
|
106
|
-
nosetests.xml
|
|
107
|
-
coverage.xml
|
|
108
|
-
*.cover
|
|
109
|
-
*.py,cover
|
|
110
|
-
.hypothesis/
|
|
111
|
-
.pytest_cache/
|
|
112
|
-
|
|
113
|
-
# Translations
|
|
114
|
-
*.mo
|
|
115
|
-
*.pot
|
|
116
|
-
|
|
117
|
-
# Django stuff:
|
|
118
|
-
*.log
|
|
119
|
-
local_settings.py
|
|
120
|
-
db.sqlite3
|
|
121
|
-
db.sqlite3-journal
|
|
122
|
-
|
|
123
|
-
# Flask stuff:
|
|
124
|
-
instance/
|
|
125
|
-
.webassets-cache
|
|
126
|
-
|
|
127
|
-
# Scrapy stuff:
|
|
128
|
-
.scrapy
|
|
129
|
-
|
|
130
|
-
# Sphinx documentation
|
|
131
|
-
docs/_build/
|
|
132
|
-
|
|
133
|
-
# PyBuilder
|
|
134
|
-
target/
|
|
135
|
-
|
|
136
|
-
# Jupyter Notebook
|
|
137
|
-
.ipynb_checkpoints
|
|
138
|
-
|
|
139
|
-
# IPython
|
|
140
|
-
profile_default/
|
|
141
|
-
ipython_config.py
|
|
142
|
-
|
|
143
|
-
# pyenv
|
|
144
|
-
.python-version
|
|
145
|
-
|
|
146
|
-
# pipenv
|
|
147
|
-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
148
|
-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
149
|
-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
150
|
-
# install all needed dependencies.
|
|
151
|
-
#Pipfile.lock
|
|
152
|
-
|
|
153
|
-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
154
|
-
__pypackages__/
|
|
155
|
-
|
|
156
|
-
# Celery stuff
|
|
157
|
-
celerybeat-schedule
|
|
158
|
-
celerybeat.pid
|
|
159
|
-
|
|
160
|
-
# SageMath parsed files
|
|
161
|
-
*.sage.py
|
|
162
|
-
|
|
163
|
-
# Environments
|
|
164
|
-
.env
|
|
165
|
-
.venv
|
|
166
|
-
env/
|
|
167
|
-
venv/
|
|
168
|
-
ENV/
|
|
169
|
-
env.bak/
|
|
170
|
-
venv.bak/
|
|
171
|
-
|
|
172
|
-
# Spyder project settings
|
|
173
|
-
.spyderproject
|
|
174
|
-
.spyproject
|
|
175
|
-
|
|
176
|
-
# Rope project settings
|
|
177
|
-
.ropeproject
|
|
178
|
-
|
|
179
|
-
# mkdocs documentation
|
|
180
|
-
/site
|
|
181
|
-
|
|
182
|
-
# mypy
|
|
183
|
-
.mypy_cache/
|
|
184
|
-
.dmypy.json
|
|
185
|
-
dmypy.json
|
|
186
|
-
|
|
187
|
-
# Pyre type checker
|
|
188
|
-
.pyre/
|
|
189
|
-
|
|
190
|
-
# data files
|
|
191
|
-
data/
|
|
192
|
-
_build
|
|
193
|
-
*.csv
|
|
194
|
-
*.fcs
|
|
195
|
-
*.zip
|
|
196
|
-
*.feather
|
|
197
|
-
*.h5ad
|
|
198
|
-
*.h5mu
|
|
199
|
-
*.parquet
|
|
200
|
-
*.bam
|
|
201
|
-
*.fastq.gz
|
|
202
|
-
|
|
203
|
-
# Pycharm
|
|
204
|
-
.idea
|
|
205
|
-
|
|
206
|
-
# fred files
|
|
207
|
-
docs/guide/insert-some-data-into-frederic-hub.ipynb
|
|
208
|
-
docs/guide/insert-data-in-test-user-1-profile.ipynb
|
|
1
|
+
# LaminDB
|
|
2
|
+
docs/guide/data-validation.ipynb
|
|
3
|
+
docs/guide/knowledge.ipynb
|
|
4
|
+
docs/guide/lnschema-bionty.ipynb
|
|
5
|
+
docs/guide/lnschema-core.ipynb
|
|
6
|
+
docs/paradisi05_laminopathic_nuclei.jpg
|
|
7
|
+
lnschema_bionty_docs/
|
|
8
|
+
lnschema_core_docs/
|
|
9
|
+
_build
|
|
10
|
+
mydata/
|
|
11
|
+
lamin-intro/
|
|
12
|
+
lamin-tutorial/
|
|
13
|
+
mytest/
|
|
14
|
+
rds/
|
|
15
|
+
mydb/
|
|
16
|
+
bfx-output/
|
|
17
|
+
scrnaseq-cellranger/
|
|
18
|
+
scrnaseq-cellranger-schmidt22/
|
|
19
|
+
cellranger_run_001
|
|
20
|
+
__MACOSX/
|
|
21
|
+
docs/lamindb.*
|
|
22
|
+
lamin_sphinx
|
|
23
|
+
docs/conf.py
|
|
24
|
+
*.db
|
|
25
|
+
*.lndb
|
|
26
|
+
*.zarr/
|
|
27
|
+
lamindb/setup/.env
|
|
28
|
+
_secrets.py
|
|
29
|
+
_configuration.py
|
|
30
|
+
lamin.db
|
|
31
|
+
docs/generated/*
|
|
32
|
+
_docs_tmp*
|
|
33
|
+
docs/guide/Laminopathic_nuclei.jpg
|
|
34
|
+
docs/guide/paradisi05_laminopathic_nuclei.jpg
|
|
35
|
+
nocodb
|
|
36
|
+
docs/guide/SRR4238351_subsamp.fastq.gz
|
|
37
|
+
docs/faq/paradisi05_laminopathic_nuclei.jpg
|
|
38
|
+
docs/faq/tostore/
|
|
39
|
+
docs/faq/mydata_postgres/
|
|
40
|
+
docs/guide/myobjects/
|
|
41
|
+
docs/faq/test-run-inputs/
|
|
42
|
+
docs/intro/paradisi05_laminopathic_nuclei.jpg
|
|
43
|
+
docs/guide/figures/
|
|
44
|
+
suo22/
|
|
45
|
+
docs/biology/test-flow/
|
|
46
|
+
docs/biology/test-scrna/
|
|
47
|
+
docs/biology/test-registries/
|
|
48
|
+
docs/biology/test-multimodal/
|
|
49
|
+
test-inherit1
|
|
50
|
+
test-inherit2
|
|
51
|
+
test-search0
|
|
52
|
+
test-search1
|
|
53
|
+
test-search2
|
|
54
|
+
test-search3
|
|
55
|
+
test-search4
|
|
56
|
+
test-search5
|
|
57
|
+
# General
|
|
58
|
+
.DS_Store
|
|
59
|
+
|
|
60
|
+
# Byte-compiled / optimized / DLL files
|
|
61
|
+
__pycache__/
|
|
62
|
+
*.py[cod]
|
|
63
|
+
*$py.class
|
|
64
|
+
|
|
65
|
+
# C extensions
|
|
66
|
+
*.so
|
|
67
|
+
|
|
68
|
+
# Distribution / packaging
|
|
69
|
+
.Python
|
|
70
|
+
build/
|
|
71
|
+
develop-eggs/
|
|
72
|
+
dist/
|
|
73
|
+
caches/
|
|
74
|
+
eggs/
|
|
75
|
+
.eggs/
|
|
76
|
+
lib/
|
|
77
|
+
lib64/
|
|
78
|
+
parts/
|
|
79
|
+
sdist/
|
|
80
|
+
var/
|
|
81
|
+
wheels/
|
|
82
|
+
pip-wheel-metadata/
|
|
83
|
+
share/python-wheels/
|
|
84
|
+
*.egg-info/
|
|
85
|
+
.installed.cfg
|
|
86
|
+
*.egg
|
|
87
|
+
MANIFEST
|
|
88
|
+
|
|
89
|
+
# PyInstaller
|
|
90
|
+
# Usually these files are written by a python script from a template
|
|
91
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
92
|
+
*.manifest
|
|
93
|
+
*.spec
|
|
94
|
+
|
|
95
|
+
# Installer logs
|
|
96
|
+
pip-log.txt
|
|
97
|
+
pip-delete-this-directory.txt
|
|
98
|
+
|
|
99
|
+
# Unit test / coverage reports
|
|
100
|
+
htmlcov/
|
|
101
|
+
.tox/
|
|
102
|
+
.nox/
|
|
103
|
+
.coverage
|
|
104
|
+
.coverage.*
|
|
105
|
+
.cache
|
|
106
|
+
nosetests.xml
|
|
107
|
+
coverage.xml
|
|
108
|
+
*.cover
|
|
109
|
+
*.py,cover
|
|
110
|
+
.hypothesis/
|
|
111
|
+
.pytest_cache/
|
|
112
|
+
|
|
113
|
+
# Translations
|
|
114
|
+
*.mo
|
|
115
|
+
*.pot
|
|
116
|
+
|
|
117
|
+
# Django stuff:
|
|
118
|
+
*.log
|
|
119
|
+
local_settings.py
|
|
120
|
+
db.sqlite3
|
|
121
|
+
db.sqlite3-journal
|
|
122
|
+
|
|
123
|
+
# Flask stuff:
|
|
124
|
+
instance/
|
|
125
|
+
.webassets-cache
|
|
126
|
+
|
|
127
|
+
# Scrapy stuff:
|
|
128
|
+
.scrapy
|
|
129
|
+
|
|
130
|
+
# Sphinx documentation
|
|
131
|
+
docs/_build/
|
|
132
|
+
|
|
133
|
+
# PyBuilder
|
|
134
|
+
target/
|
|
135
|
+
|
|
136
|
+
# Jupyter Notebook
|
|
137
|
+
.ipynb_checkpoints
|
|
138
|
+
|
|
139
|
+
# IPython
|
|
140
|
+
profile_default/
|
|
141
|
+
ipython_config.py
|
|
142
|
+
|
|
143
|
+
# pyenv
|
|
144
|
+
.python-version
|
|
145
|
+
|
|
146
|
+
# pipenv
|
|
147
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
148
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
149
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
150
|
+
# install all needed dependencies.
|
|
151
|
+
#Pipfile.lock
|
|
152
|
+
|
|
153
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
154
|
+
__pypackages__/
|
|
155
|
+
|
|
156
|
+
# Celery stuff
|
|
157
|
+
celerybeat-schedule
|
|
158
|
+
celerybeat.pid
|
|
159
|
+
|
|
160
|
+
# SageMath parsed files
|
|
161
|
+
*.sage.py
|
|
162
|
+
|
|
163
|
+
# Environments
|
|
164
|
+
.env
|
|
165
|
+
.venv
|
|
166
|
+
env/
|
|
167
|
+
venv/
|
|
168
|
+
ENV/
|
|
169
|
+
env.bak/
|
|
170
|
+
venv.bak/
|
|
171
|
+
|
|
172
|
+
# Spyder project settings
|
|
173
|
+
.spyderproject
|
|
174
|
+
.spyproject
|
|
175
|
+
|
|
176
|
+
# Rope project settings
|
|
177
|
+
.ropeproject
|
|
178
|
+
|
|
179
|
+
# mkdocs documentation
|
|
180
|
+
/site
|
|
181
|
+
|
|
182
|
+
# mypy
|
|
183
|
+
.mypy_cache/
|
|
184
|
+
.dmypy.json
|
|
185
|
+
dmypy.json
|
|
186
|
+
|
|
187
|
+
# Pyre type checker
|
|
188
|
+
.pyre/
|
|
189
|
+
|
|
190
|
+
# data files
|
|
191
|
+
data/
|
|
192
|
+
_build
|
|
193
|
+
*.csv
|
|
194
|
+
*.fcs
|
|
195
|
+
*.zip
|
|
196
|
+
*.feather
|
|
197
|
+
*.h5ad
|
|
198
|
+
*.h5mu
|
|
199
|
+
*.parquet
|
|
200
|
+
*.bam
|
|
201
|
+
*.fastq.gz
|
|
202
|
+
|
|
203
|
+
# Pycharm
|
|
204
|
+
.idea
|
|
205
|
+
|
|
206
|
+
# fred files
|
|
207
|
+
docs/guide/insert-some-data-into-frederic-hub.ipynb
|
|
208
|
+
docs/guide/insert-data-in-test-user-1-profile.ipynb
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
repos:
|
|
2
|
-
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
-
rev: v3.2.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/psf/black
|
|
14
|
-
rev: 22.6.0
|
|
15
|
-
hooks:
|
|
16
|
-
- id: black-jupyter
|
|
17
|
-
- repo: https://github.com/pycqa/flake8
|
|
18
|
-
rev: 4.0.1
|
|
19
|
-
hooks:
|
|
20
|
-
- id: flake8
|
|
21
|
-
additional_dependencies:
|
|
22
|
-
- flake8-black==0.3.3
|
|
23
|
-
- flake8-typing-imports==1.10.0
|
|
24
|
-
language_version: python3
|
|
25
|
-
args:
|
|
26
|
-
- --max-line-length=120
|
|
27
|
-
- --ignore=E203,W503,BLK100,TYP001
|
|
28
|
-
exclude: |
|
|
29
|
-
(?x)(
|
|
30
|
-
__init__.py
|
|
31
|
-
)
|
|
32
|
-
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
33
|
-
rev: v2.6.2
|
|
34
|
-
hooks:
|
|
35
|
-
- id: prettier
|
|
36
|
-
- repo: https://github.com/kynan/nbstripout
|
|
37
|
-
rev: 0.3.9
|
|
38
|
-
hooks:
|
|
39
|
-
- id: nbstripout
|
|
40
|
-
exclude: |
|
|
41
|
-
(?x)(
|
|
42
|
-
docs/examples/|
|
|
43
|
-
docs/notes/|
|
|
44
|
-
tests
|
|
45
|
-
)
|
|
46
|
-
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
|
47
|
-
rev: v1.1.9
|
|
48
|
-
hooks:
|
|
49
|
-
- id: forbid-crlf
|
|
50
|
-
- id: remove-crlf
|
|
51
|
-
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
52
|
-
rev: v0.940
|
|
53
|
-
hooks:
|
|
54
|
-
- id: mypy
|
|
55
|
-
exclude: |
|
|
56
|
-
(?x)(
|
|
57
|
-
tests/hub-local/conftest.py
|
|
58
|
-
)
|
|
59
|
-
- repo: https://github.com/pycqa/pydocstyle
|
|
60
|
-
rev: 6.1.1
|
|
61
|
-
hooks:
|
|
62
|
-
- id: pydocstyle
|
|
63
|
-
args: # google style + __init__, see http://www.pydocstyle.org/en/stable/error_codes.html
|
|
64
|
-
- --ignore=D100,D101,D102,D103,D104,D106,D107,D203,D204,D213,D215,D400,D401,D403,D404,D406,D407,D408,D409,D412,D413
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
+
rev: v3.2.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/psf/black
|
|
14
|
+
rev: 22.6.0
|
|
15
|
+
hooks:
|
|
16
|
+
- id: black-jupyter
|
|
17
|
+
- repo: https://github.com/pycqa/flake8
|
|
18
|
+
rev: 4.0.1
|
|
19
|
+
hooks:
|
|
20
|
+
- id: flake8
|
|
21
|
+
additional_dependencies:
|
|
22
|
+
- flake8-black==0.3.3
|
|
23
|
+
- flake8-typing-imports==1.10.0
|
|
24
|
+
language_version: python3
|
|
25
|
+
args:
|
|
26
|
+
- --max-line-length=120
|
|
27
|
+
- --ignore=E203,W503,BLK100,TYP001
|
|
28
|
+
exclude: |
|
|
29
|
+
(?x)(
|
|
30
|
+
__init__.py
|
|
31
|
+
)
|
|
32
|
+
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
33
|
+
rev: v2.6.2
|
|
34
|
+
hooks:
|
|
35
|
+
- id: prettier
|
|
36
|
+
- repo: https://github.com/kynan/nbstripout
|
|
37
|
+
rev: 0.3.9
|
|
38
|
+
hooks:
|
|
39
|
+
- id: nbstripout
|
|
40
|
+
exclude: |
|
|
41
|
+
(?x)(
|
|
42
|
+
docs/examples/|
|
|
43
|
+
docs/notes/|
|
|
44
|
+
tests
|
|
45
|
+
)
|
|
46
|
+
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
|
47
|
+
rev: v1.1.9
|
|
48
|
+
hooks:
|
|
49
|
+
- id: forbid-crlf
|
|
50
|
+
- id: remove-crlf
|
|
51
|
+
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
52
|
+
rev: v0.940
|
|
53
|
+
hooks:
|
|
54
|
+
- id: mypy
|
|
55
|
+
exclude: |
|
|
56
|
+
(?x)(
|
|
57
|
+
tests/hub-local/conftest.py
|
|
58
|
+
)
|
|
59
|
+
- repo: https://github.com/pycqa/pydocstyle
|
|
60
|
+
rev: 6.1.1
|
|
61
|
+
hooks:
|
|
62
|
+
- id: pydocstyle
|
|
63
|
+
args: # google style + __init__, see http://www.pydocstyle.org/en/stable/error_codes.html
|
|
64
|
+
- --ignore=D100,D101,D102,D103,D104,D106,D107,D203,D204,D213,D215,D400,D401,D403,D404,D406,D407,D408,D409,D412,D413
|