advent-of-code/ruff.toml
Bruno BELANYI b4762ccf9f nix: migrate to 'ruff'
Having just the one tool is better.

Incidentally, this fixes the ternary formatting, which was messed up in
recent `black` versions.
2024-12-03 10:29:26 +00:00

9 lines
205 B
TOML

[lint]
extend-select = [
"I", # Import sorting is a lint check
]
ignore = [
"E731", # Assigning lambdas is sometimes more readable
"E741", # Ambiguous variable names are good enough actually
]