chore(repo): enable even more ruff rules
This commit is contained in:
parent
4ad73ec6ee
commit
9df7f15bbe
1 changed files with 6 additions and 1 deletions
|
@ -87,6 +87,8 @@ select = [
|
||||||
"W",
|
"W",
|
||||||
"E",
|
"E",
|
||||||
"G",
|
"G",
|
||||||
|
"A",
|
||||||
|
"COM",
|
||||||
"INP",
|
"INP",
|
||||||
"T20",
|
"T20",
|
||||||
"PLC",
|
"PLC",
|
||||||
|
@ -99,8 +101,11 @@ select = [
|
||||||
"FIX",
|
"FIX",
|
||||||
"PERF",
|
"PERF",
|
||||||
"C4",
|
"C4",
|
||||||
|
"EM",
|
||||||
|
"RET",
|
||||||
|
"RSE",
|
||||||
]
|
]
|
||||||
ignore = ["PLR0912", "PLR0915", "PLR2004", "PLR0913"]
|
ignore = ["PLR0912", "PLR0915", "PLR2004", "PLR0913", "EM101"]
|
||||||
|
|
||||||
# Allow fix for all enabled rules (when `--fix`) is provided.
|
# Allow fix for all enabled rules (when `--fix`) is provided.
|
||||||
fixable = ["ALL"]
|
fixable = ["ALL"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue