mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-08-03 12:02:21 +02:00
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.
17 lines
460 B
TOML
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
|
|
]
|