Files
bitcoin/ruff.toml
will 6eca11175b lint: remove E731 Ruff ignore
Replace assigned lambdas with local functions so Ruff can enforce E731.
For platform-specific immutable file cleanup, store the command as data
instead of creating conditional callbacks.
2026-07-16 10:29:58 +01:00

17 lines
460 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
"E741", # ambiguous-variable-name
]