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.
This commit is contained in:
parent
f9fc9fbd6b
commit
741bb33544
8 changed files with 20 additions and 17 deletions
8
ruff.toml
Normal file
8
ruff.toml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[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
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue