Skip to content

Commit 04122bb

Browse files
committed
Fixed .pre-commit-config
1 parent 5b9e2cd commit 04122bb

1 file changed

Lines changed: 31 additions & 26 deletions

File tree

.pre-commit-config.yaml

Lines changed: 31 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
repos:
22
- repo: https://github.com/mwouts/jupytext
3-
rev: 'v1.16.4b'
3+
rev: "v1.16.4b"
44
hooks:
5-
- id: jupytext
6-
entry: jupytext
7-
language: python
8-
types: [jupyter]
9-
args:
10-
- --from=ipynb
11-
- --to=py:light
12-
- --set-formats=ipynb,py:light
13-
- --quiet
14-
- --sync
15-
- --warn-only
16-
exclude: '.*\.md$'
5+
- id: jupytext
6+
entry: jupytext
7+
language: python
8+
types: [jupyter]
9+
args:
10+
- --from=ipynb
11+
- --to=py:light
12+
- --set-formats=ipynb,py:light
13+
- --quiet
14+
- --sync
15+
- --warn-only
16+
exclude: '.*\.md$'
1717
- repo: https://github.com/PyCQA/docformatter
18-
rev: 'eb1df347edd128b30cd3368dddc3aa65edcfac38'
18+
rev: "eb1df347edd128b30cd3368dddc3aa65edcfac38"
1919
hooks:
2020
- id: docformatter
2121
args: [--in-place, --wrap-descriptions=90, --style=google]
2222
- repo: https://github.com/psf/black.git
23-
rev: '24.10.0'
23+
rev: "24.10.0"
2424
hooks:
2525
- id: black
2626

@@ -36,21 +36,21 @@ repos:
3636
types_or: [jupyter, markdown]
3737
additional_dependencies: [black]
3838
- repo: https://github.com/asottile/pyupgrade
39-
rev: 'v3.19.0'
39+
rev: "v3.19.0"
4040
hooks:
4141
- id: pyupgrade
4242
args: [--py39-plus]
4343
- repo: https://github.com/pycqa/isort
44-
rev: '5.13.2'
44+
rev: "5.13.2"
4545
hooks:
4646
- id: isort
4747
entry: isort
4848
args:
49-
- --profile=black
49+
- --profile=black
5050
- --float-to-top
5151

5252
- repo: https://github.com/nbQA-dev/nbQA
53-
rev: '1.9.0'
53+
rev: "1.9.0"
5454
hooks:
5555
- id: nbqa
5656
entry: nbqa blacken-docs
@@ -79,8 +79,8 @@ repos:
7979
types_or: [jupyter, markdown]
8080
additional_dependencies: [isort]
8181
args:
82-
- --profile=black
83-
- --float-to-top
82+
- --profile=black
83+
- --float-to-top
8484

8585
- repo: https://github.com/codespell-project/codespell
8686
rev: v2.3.0
@@ -165,6 +165,8 @@ repos:
165165
- --warn-return-any
166166
- --disallow-any-explicit
167167

168+
169+
168170
- repo: https://github.com/pre-commit/mirrors-mypy
169171
rev: v1.13.0
170172
hooks:
@@ -193,6 +195,7 @@ repos:
193195
- --warn-return-any
194196
- --disallow-any-explicit
195197

198+
196199
additional_dependencies:
197200
- mypy
198201
- pandas-stubs
@@ -219,8 +222,9 @@ repos:
219222
- --const-naming-style=any
220223
- --disable=E0401,W0104,R0903,R1721,E1101,E0611,F0002,C0305,C0303,E2515
221224

225+
222226
- repo: https://github.com/pylint-dev/pylint
223-
rev: 'v3.3.1'
227+
rev: "v3.3.1"
224228
hooks:
225229
- id: pylint
226230
name: pylint
@@ -229,10 +233,10 @@ repos:
229233
types: [python]
230234
args:
231235
[
232-
'--ignore=no_check*,__init__.py',
233-
'--max-line-length=90',
234-
'--const-naming-style=any',
235-
'--disable=E0401,W0104,R0903,R1721,E1101,E0611,F0002,C0305,line-too-long,C0303,E2515',
236+
"--ignore=no_check*,__init__.py",
237+
"--max-line-length=90",
238+
"--const-naming-style=any",
239+
"--disable=E0401,W0104,R0903,R1721,E1101,E0611,F0002,C0305,line-too-long,C0303,E2515"
236240
]
237241
additional_dependencies: [pylint]
238242

@@ -271,3 +275,4 @@ repos:
271275
- --ignore-regex=^\s*"image\/(jpeg|png|gif|bmp|tiff)":\s.*
272276
- --ignore-regex=[A-Za-z0-9+/]{100,}
273277
- --skip=*.js,*.html,*.css,*.svg",*.json,*.png,*.jpg,*.yml,*.yaml
278+

0 commit comments

Comments
 (0)