evorepo/ruff.toml
Jelle van der Waa e864c90936 ruff: enable flake8-bugbear except B904
Resolve B904 in a later commit.
2023-11-03 12:35:59 +01:00

21 lines
603 B
TOML

select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"E", # pycodestyle
"F", # pyflakes
"G", # flake8-logging-format
"I", # isort
"ICN", # flake8-import-conventions
"ISC", # flake8-implicit-str-concat
"PIE", # flake8-pie
"PLE", # pylint errors
"T10", # flake8-debugger
"TCH", # flake8-type-checking
"UP032", # f-string
"W", # warnings (mostly whitespace)
"YTT", # flake8-2020
]
# Never enforce `E501` (line length violations).
ignore = ["E501", "E731", "B904"]