@@ -40,23 +40,67 @@ line-length = 99
4040target-version = ' py310'
4141
4242[tool .ruff .lint ]
43- select = [
44- ' F' , # pyflakes
45- ' E' , # pycodestyle
46- ' W' , # pycodestyle
47- ' I' , # isort
48- ' N' , # pep8-naming
49- ' UP' , # pyupgrade
50- ' S' , # flake8-bandit
51- ' BLE' , # flake8-blind-except
52- ' C4' , # flake8-comprehensions
53- ' EM' , # flake8-errmsg
54- ' T20' , # flake8-print
55- ' RET' , # flake8-return
56- ' RUF' , # ruff
43+ extend-select = [
44+ ' ERA' , # eradicate
45+ ' YTT' , # flake8-2020
46+ ' ASYNC' , # flake8-async
47+ ' S' , # flake8-bandit
48+ ' BLE' , # flake8-blind-except
49+ ' B' , # flake8-bugbear
50+ ' A' , # flake8-builtins
51+ ' COM' , # flake8-commas
52+ ' C4' , # flake8-comprehensions
53+ ' DTZ' , # flake8-datetimez
54+ ' T10' , # flake8-debugger
55+ ' DJ' , # flake8-django
56+ ' EM' , # flake8-errmsg
57+ ' EXE' , # flake8-executable
58+ ' FA' , # flake8-future-annotations
59+ ' INT' , # flake8-gettext
60+ ' ISC' , # flake8-implicit-str-concat
61+ ' ICN' , # flake8-import-conventions
62+ ' LOG' , # flake8-logging
63+ ' G' , # flake8-logging-format
64+ ' INP' , # flake8-no-pep420
65+ ' PIE' , # flake8-pie
66+ ' T20' , # flake8-print
67+ ' PYI' , # flake8-pyi
68+ ' Q' , # flake8-quotes
69+ ' RSE' , # flake8-raise
70+ ' RET' , # flake8-return
71+ ' SLOT' , # flake8-slots
72+ ' SIM' , # flake8-simplify
73+ ' TID' , # flake8-tidy-imports
74+ ' TD' , # flake8-todos
75+ ' TCH' , # flake8-type-checking
76+ ' PTH' , # flake8-use-pathlib
77+ ' FLY' , # flynt
78+ ' I' , # isort
79+ ' NPY' , # numpy-specific rules
80+ ' PD' , # pandas-vet
81+ ' N' , # pep8-naming
82+ ' PERF' , # perflint
83+ ' E' , # pycodestyle
84+ ' W' , # pycodestyle
85+ ' F' , # pyflakes
86+ ' PGH' , # pygrep-hooks
87+ ' PLC' , # pylint
88+ ' PLE' , # pylint
89+ ' PLW' , # pylint
90+ ' UP' , # pyupgrade
91+ ' FURB' , # refurb
92+ ' RUF' , # ruff-specific rules
93+ ' TRY' , # tryceratops
5794]
5895ignore = [
59- ' EM101' , # flake8-errmsg: raw-string-in-exception
96+ ' COM812' , # flake8-commas: missing-trailing-comma
97+ ' EM101' , # flake8-errmsg: raw-string-in-exception
98+ ' ISC001' , # flake8-implicit-str-concat: single-line-implicit-string-concatenation
99+ ' RUF012' , # ruff-specific rules: mutable-class-default
100+ ' SIM105' , # flake8-simplify: suppressible-exception
101+ ' SIM108' , # flake8-simplify: if-else-block-instead-of-if-exp
102+ ' TD002' , # flake8-todos: missing-todo-author
103+ ' TRY003' , # tryceratops: raise-vanilla-args
60104]
61105
62106[tool .ruff .lint .isort ]
0 commit comments