@@ -3,7 +3,7 @@ line-length = 140
3
3
skip-string-normalization = 1
4
4
5
5
[tool .ruff ]
6
- select = [
6
+ lint. select = [
7
7
" E" , # pycodestyle errors
8
8
" W" , # pycodestyle warnings
9
9
" F" , # pyflakes
@@ -16,17 +16,17 @@ select = [
16
16
" B" , # flake8-bugbear
17
17
]
18
18
19
- ignore = [
19
+ lint. ignore = [
20
20
" E501" , # line too long, handled by black
21
21
" B008" , # do not perform function calls in argument defaults
22
22
" C901" , # too complex
23
23
" F401" , # imported but unused
24
24
" S101" , # use of assert detected
25
25
]
26
26
27
- fixable = [" A" , " B" , " C" , " D" , " E" , " F" , " G" , " I" , " N" , " Q" , " S" , " T" , " W" , " ANN" , " ARG" , " BLE" , " COM" , " DJ" , " DTZ" , " EM" , " ERA" , " EXE" , " FBT" , " ICN" , " INP" , " ISC" , " NPY" , " PD" , " PGH" , " PIE" , " PL" , " PT" , " PTH" , " PYI" , " RET" , " RSE" , " RUF" , " SIM" , " SLF" , " TCH" , " TID" , " TRY" , " UP" , " YTT" ]
27
+ lint. fixable = [" A" , " B" , " C" , " D" , " E" , " F" , " G" , " I" , " N" , " Q" , " S" , " T" , " W" , " ANN" , " ARG" , " BLE" , " COM" , " DJ" , " DTZ" , " EM" , " ERA" , " EXE" , " FBT" , " ICN" , " INP" , " ISC" , " NPY" , " PD" , " PGH" , " PIE" , " PL" , " PT" , " PTH" , " PYI" , " RET" , " RSE" , " RUF" , " SIM" , " SLF" , " TCH" , " TID" , " TRY" , " UP" , " YTT" ]
28
28
29
- exclude = [
29
+ lint. exclude = [
30
30
" .bzr" ,
31
31
" .direnv" ,
32
32
" .eggs" ,
@@ -51,10 +51,10 @@ exclude = [
51
51
52
52
line-length = 140
53
53
54
- [tool .ruff .per-file-ignores ]
54
+ [tool .ruff .lint . per-file-ignores ]
55
55
"__init__.py" = [" F401" ]
56
56
57
- [tool .ruff .flake8-quotes ]
57
+ [tool .ruff .lint . flake8-quotes ]
58
58
inline-quotes = " single"
59
59
multiline-quotes = " single"
60
60
docstring-quotes = " double"
0 commit comments