Files
bitcoin/ruff.toml
MarcoFalke fa9c919678 refactor: Use ignore-list over verbose select-list
This refactor makes the ruff.toml easier to read, because it lists the
ignored checks instead of having to enumerate all checks to select in a
large collection of rules.
2026-05-13 12:24:09 +02:00

19 lines
528 B
TOML

[lint]
select = [
"B006", # mutable-argument-default
"B008", # function-call-in-default-argument
"E", # pycodestyle errors
"F", # pyflakes errors
"PLE", # Pylint errors
"RUF001", # ambiguous-unicode-character-string
"RUF002", # ambiguous-unicode-character-docstring
"RUF003", # ambiguous-unicode-character-comment
"W", # pycodestyle warnings
]
ignore = [
"E501", # line too long
"E712", # true-false comparison
"E731", # lambda assignment
"E741", # ambiguous-variable-name
]