advent-of-code/ruff.toml
Bruno BELANYI 741bb33544 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-11-23 18:45:57 +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
]