File tree 2 files changed +9
-8
lines changed
2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -15,19 +15,19 @@ repos:
15
15
exclude : ^$|.devcontainer
16
16
17
17
- repo : https://github.com/tox-dev/pyproject-fmt
18
- rev : " 2.1.1 "
18
+ rev : " 2.1.3 "
19
19
hooks :
20
20
- id : pyproject-fmt
21
21
22
22
- repo : https://github.com/astral-sh/ruff-pre-commit
23
- rev : v0.4.4
23
+ rev : v0.4.9
24
24
hooks :
25
25
- id : ruff
26
26
args : [--fix, --exit-non-zero-on-fix]
27
27
- id : ruff-format
28
28
29
29
- repo : https://github.com/codespell-project/codespell
30
- rev : v2.2.6
30
+ rev : v2.3.0
31
31
hooks :
32
32
- id : codespell
33
33
args :
Original file line number Diff line number Diff line change @@ -159,6 +159,12 @@ lint.select = [
159
159
# "TD", # flake8-todos
160
160
# "TRY", # tryceratops
161
161
]
162
+ lint.ignore = [
163
+ " PLR0915" , # Allow condition check in list comprehension
164
+ " PLW2901" , # Allow overwritten values on loops
165
+ " UP007" , # Prefer Optional[], Union[] over | due to torch jit scripting
166
+ ]
167
+
162
168
lint.per-file-ignores."*/__init__.py" = [
163
169
" F401" ,
164
170
" F403" ,
@@ -217,11 +223,6 @@ lint.pylint.max-args = 30 # Recommended: 5
217
223
lint.pylint.max-branches = 21 # Recommended: 12
218
224
lint.pylint.max-returns = 13 # Recommended: 6
219
225
lint.pylint.max-statements = 64 # Recommended: 50
220
- lint.ignore = [
221
- " PLR0915" , # Allow condition check in list comprehension
222
- " PLW2901" , # Allow overwritten values on loops
223
- " UP007" , # Prefer Optional[], Union[] over | due to torch jit scripting
224
- ]
225
226
226
227
[tool .pytest .ini_options ]
227
228
addopts = " --color=yes"
You can’t perform that action at this time.
0 commit comments