1
1
[tool .ruff ]
2
- ignore = [ # `ruff rule S101` for a description of that rule
2
+ lint. ignore = [ # `ruff rule S101` for a description of that rule
3
3
" ARG001" , # Unused function argument `amount` -- FIX ME?
4
4
" B904" , # Within an `except` clause, raise exceptions with `raise ... from err` -- FIX ME
5
5
" B905" , # `zip()` without an explicit `strict=` parameter -- FIX ME
@@ -31,7 +31,7 @@ ignore = [ # `ruff rule S101` for a description of that rule
31
31
" SLF001" , # Private member accessed: `_Iterator` -- FIX ME
32
32
" UP038" , # Use `X | Y` in `{}` call instead of `(X, Y)` -- DO NOT FIX
33
33
]
34
- select = [ # https://beta.ruff.rs/docs/rules
34
+ lint. select = [ # https://beta.ruff.rs/docs/rules
35
35
" A" , # flake8-builtins
36
36
" ARG" , # flake8-unused-arguments
37
37
" ASYNC" , # flake8-async
@@ -84,13 +84,13 @@ select = [ # https://beta.ruff.rs/docs/rules
84
84
# "TCH", # flake8-type-checking
85
85
# "TRY", # tryceratops
86
86
]
87
- show-source = true
88
- target-version = " py311 "
87
+ output-format = " full "
88
+ target-version = " py312 "
89
89
90
- [tool .ruff .mccabe ] # DO NOT INCREASE THIS VALUE
90
+ [tool .ruff .lint . mccabe ] # DO NOT INCREASE THIS VALUE
91
91
max-complexity = 17 # default: 10
92
92
93
- [tool .ruff .per-file-ignores ]
93
+ [tool .ruff .lint . per-file-ignores ]
94
94
"arithmetic_analysis/newton_raphson.py" = [" PGH001" ]
95
95
"audio_filters/show_response.py" = [" ARG002" ]
96
96
"data_structures/binary_tree/binary_search_tree_recursive.py" = [" BLE001" ]
@@ -110,7 +110,7 @@ max-complexity = 17 # default: 10
110
110
"project_euler/problem_099/sol1.py" = [" SIM115" ]
111
111
"sorts/external_sort.py" = [" SIM115" ]
112
112
113
- [tool .ruff .pylint ] # DO NOT INCREASE THESE VALUES
113
+ [tool .ruff .lint . pylint ] # DO NOT INCREASE THESE VALUES
114
114
allow-magic-value-types = [" float" , " int" , " str" ]
115
115
max-args = 10 # default: 5
116
116
max-branches = 20 # default: 12
0 commit comments