Skip to content

Commit 867c192

Browse files
committed
Active all rules in Ruff by default
1 parent f99a19e commit 867c192

File tree

1 file changed

+29
-32
lines changed

1 file changed

+29
-32
lines changed

pyproject.toml

Lines changed: 29 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -209,40 +209,37 @@ preview = true
209209

210210
task-tags = ["FIXME", "TODO", "XXX"]
211211

212-
select = [
213-
"ANN", # flake8-annotations
214-
"ASYNC", # flake8-async
215-
"B", # flake8-bugbear
216-
"C4", # flake8-comprehensions
217-
"C90", # mccabe complexity
218-
"DJ", # flake8-django
219-
"DTZ", # flake8-datetimez
220-
"E", # pycodestyle errors
221-
"EXE", # flake8-executable
222-
"F", # pyflakes
223-
"FURB", # refurb
224-
"I", # isort-like checks
225-
"ICN", # flake8-import-conventions
226-
"INP", # flake8-no-pep420
227-
"N", # pep8-naming
228-
"PERF", # Perflint
229-
"PIE", # flake8-pie
230-
"PL", # pylint
231-
"PTH", # flake8-use-pathlib
232-
"PYI", # flake8-pyi
233-
"Q", # flake8-quotes
234-
"RET", # flake8-return
235-
"RUF", # Ruff specific rules
236-
"S", # flake8-bandit
237-
"SIM", # flake8-simplify
238-
"TCH", # flake8-type-checking
239-
"T10", # flake8-debugger
240-
"UP", # pyupgrade
241-
"W", # pycodestyle warnings
242-
"YTT", # flake8-2020
243-
]
212+
select = ["ALL"]
244213

245214
ignore = [
215+
"D", # pydocstyle
216+
"DOC", # pydoclint
217+
"CPY", # flake8-copyright
218+
"T201", # use of `print`
219+
"ISC", # flake8-implicit-str-concat
220+
221+
##################################################################################################
222+
# Rules below needs to be Investigated #
223+
##################################################################################################
224+
"COM", # flake8-commas
225+
"ARG", # flake8-unused-arguments
226+
"PT", # flake8-pytest-style
227+
"PGH", # pygrep-hooks
228+
"ERA", # eradicate commented-out code
229+
"FA", # flake8-future-annotations
230+
"SLF001", # flake8-self
231+
"EM", # flake8-errmsg
232+
"TRY", # tryceratops
233+
"TD", # flake8-todos
234+
"FIX", # flake8-fixme
235+
"TID", # flake8-tidy-imports
236+
"FBT", # flake8-boolean-trap
237+
"G", # flake8-logging-format
238+
"FLY", # flynt
239+
"RSE", # flake8-raise
240+
"BLE", # flake8-blind-except (BLE)
241+
"A", # flake8-builtins
242+
246243
##################################################################################################
247244
# The ignored rules below should be removed once the code has been updated, they are included #
248245
# like this so that we can reactivate them one by one. Alternatively ignored after further #

0 commit comments

Comments
 (0)