File tree 3 files changed +6
-5
lines changed 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 9
9
- id : debug-statements
10
10
- id : end-of-file-fixer
11
11
- repo : https://github.com/pre-commit/pygrep-hooks
12
- rev : v1.9 .0 # Use the ref you want to point at
12
+ rev : v1.10 .0 # Use the ref you want to point at
13
13
hooks :
14
14
- id : python-check-blanket-noqa
15
15
- id : python-check-mock-methods
@@ -36,11 +36,11 @@ repos:
36
36
hooks :
37
37
- id : black
38
38
- repo : https://github.com/charliermarsh/ruff-pre-commit
39
- rev : v0.0.215
39
+ rev : v0.0.223
40
40
hooks :
41
41
- id : ruff
42
42
- repo : https://github.com/dosisod/refurb
43
- rev : v1.9.1
43
+ rev : v1.10.0
44
44
hooks :
45
45
- id : refurb
46
46
args : [--ignore, FURB126]
Original file line number Diff line number Diff line change @@ -51,11 +51,12 @@ extend-ignore = [
51
51
" EM" , # flake8-errmsg
52
52
" ANN401" , # flake8-annotate typing.Any
53
53
" PD" , # pandas-vet
54
+ " COM812" , # trailing comma missing, but black takes care of that
54
55
]
55
56
56
57
57
58
[tool .ruff .per-file-ignores ]
58
- "tests/*" = [" D" , " ANN" ]
59
+ "tests/*" = [" D" , " ANN" , " PLR2004 " ]
59
60
60
61
61
62
[tool .ruff .pydocstyle ]
Original file line number Diff line number Diff line change 12
12
@hookimpl
13
13
def pytask_parse_config (config : dict [str , Any ]) -> None :
14
14
"""Parse the configuration."""
15
- if config ["n_workers" ] == "auto" :
15
+ if config ["n_workers" ] == "auto" : # noqa: PLR2004
16
16
config ["n_workers" ] = max (os .cpu_count () - 1 , 1 )
17
17
18
18
if (
You can’t perform that action at this time.
0 commit comments