11[tool .ruff ]
2- select = [
3- " C4" , # flake8-comprehensions
4- " C90" , # mccabe
5- " E" , # pycodestyle
6- " F" , # Pyflakes
7- " I" , # isort
8- " ICN" , # flake8-import-conventions
9- " PGH" , # pygrep-hooks
10- " PIE" , # flake8-pie
11- " PLC" , # Pylint conventions
12- " PLE" , # Pylint errors
13- " PLR091" , # Pylint refactor just for max-args, max-branches, etc.
14- " PYI" , # flake8-pyi
15- " RSE" , # flake8-raise
16- " RUF" , # Ruff-specific rules
17- " T10" , # flake8-debugger
18- " TCH" , # flake8-type-checking
19- " TID" , # flake8-tidy-imports
20- " UP" , # pyupgrade
21- " W" , # pycodestyle
22- " YTT" , # flake8-2020
23- ]
2+ target-version = " py37"
3+ line-length = 616
244ignore = [
255 " E402" ,
266 " E722" ,
@@ -31,20 +11,34 @@ ignore = [
3111 " PLC1901" ,
3212 " RUF001" ,
3313]
34- line-length = 616
35- target-version = " py37"
36-
37- [tool .ruff .mccabe ]
38- max-complexity = 21
39-
40- [tool .ruff .pylint ]
41- max-args = 8
42- max-branches = 18
43- max-statements = 73
44-
45- [tool .ruff .per-file-ignores ]
46- "test/*" = [" S101" ]
14+ mccabe.max-complexity = 21
15+ per-file-ignores."test/*" = [ " S101" ]
16+ pylint.max-args = 8
17+ pylint.max-branches = 18
18+ pylint.max-statements = 73
19+ select = [
20+ " C4" , # flake8-comprehensions
21+ " C90" , # mccabe
22+ " E" , # pycodestyle
23+ " F" , # Pyflakes
24+ " I" , # isort
25+ " ICN" , # flake8-import-conventions
26+ " PGH" , # pygrep-hooks
27+ " PIE" , # flake8-pie
28+ " PLC" , # Pylint conventions
29+ " PLE" , # Pylint errors
30+ " PLR091" , # Pylint refactor just for max-args, max-branches, etc.
31+ " PYI" , # flake8-pyi
32+ " RSE" , # flake8-raise
33+ " RUF" , # Ruff-specific rules
34+ " T10" , # flake8-debugger
35+ " TCH" , # flake8-type-checking
36+ " TID" , # flake8-tidy-imports
37+ " UP" , # pyupgrade
38+ " W" , # pycodestyle
39+ " YTT" , # flake8-2020
40+ ]
4741
4842[tool .codespell ]
49- ignore-words-list = ' didnt'
50- skip = ' ./.*,*.xsd'
43+ ignore-words-list = " didnt"
44+ skip = " ./.*,*.xsd"
0 commit comments