@@ -22,7 +22,7 @@ repair-wheel-command = "delocate-wheel --require-archs {delocate_archs} -w {dest
22
22
[tool .ruff ]
23
23
target-version = " py39"
24
24
line-length = 120
25
- select = [
25
+ lint. select = [
26
26
" B" , # flake8-bugbear
27
27
" C4" , # flake8-comprehensions
28
28
" D" , # pydocstyle
@@ -54,8 +54,7 @@ select = [
54
54
" W" , # pycodestyle warning
55
55
" YTT" , # flake8-2020
56
56
]
57
- ignore = [
58
- " ANN101" , # Missing type annotation for self in method
57
+ lint.ignore = [
59
58
" B023" , # Function definition does not bind loop variable
60
59
" B028" , # No explicit stacklevel keyword argument found
61
60
" B904" , # Within an except clause, raise exceptions with ...
@@ -78,11 +77,11 @@ ignore = [
78
77
" RUF012" , # Disable checks for mutable class args. This is a non-problem.
79
78
" SIM105" , # Use contextlib.suppress(OSError) instead of try-except-pass
80
79
]
81
- pydocstyle.convention = " google"
82
- isort.required-imports = [" from __future__ import annotations" ]
83
- isort.split-on-trailing-comma = false
80
+ lint. pydocstyle.convention = " google"
81
+ lint. isort.required-imports = [" from __future__ import annotations" ]
82
+ lint. isort.split-on-trailing-comma = false
84
83
85
- [tool .ruff .per-file-ignores ]
84
+ [tool .ruff .lint . per-file-ignores ]
86
85
"__init__.py" = [" F401" ]
87
86
"tests/**" = [" ANN201" , " D" , " S101" ]
88
87
"tasks.py" = [" D" ]
0 commit comments