File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 99 - id : debug-statements
1010 - id : end-of-file-fixer
1111- 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
1313 hooks :
1414 - id : python-check-blanket-noqa
1515 - id : python-check-mock-methods
@@ -36,11 +36,11 @@ repos:
3636 hooks :
3737 - id : black
3838- repo : https://github.com/charliermarsh/ruff-pre-commit
39- rev : v0.0.215
39+ rev : v0.0.223
4040 hooks :
4141 - id : ruff
4242- repo : https://github.com/dosisod/refurb
43- rev : v1.9.1
43+ rev : v1.10.0
4444 hooks :
4545 - id : refurb
4646 args : [--ignore, FURB126]
Original file line number Diff line number Diff line change @@ -51,11 +51,12 @@ extend-ignore = [
5151 " EM" , # flake8-errmsg
5252 " ANN401" , # flake8-annotate typing.Any
5353 " PD" , # pandas-vet
54+ " COM812" , # trailing comma missing, but black takes care of that
5455]
5556
5657
5758[tool .ruff .per-file-ignores ]
58- "tests/*" = [" D" , " ANN" ]
59+ "tests/*" = [" D" , " ANN" , " PLR2004 " ]
5960
6061
6162[tool .ruff .pydocstyle ]
Original file line number Diff line number Diff line change 1212@hookimpl
1313def pytask_parse_config (config : dict [str , Any ]) -> None :
1414 """Parse the configuration."""
15- if config ["n_workers" ] == "auto" :
15+ if config ["n_workers" ] == "auto" : # noqa: PLR2004
1616 config ["n_workers" ] = max (os .cpu_count () - 1 , 1 )
1717
1818 if (
You can’t perform that action at this time.
0 commit comments