forked from github/pelican
More ruff checks
This commit is contained in:
parent
425f302880
commit
b6d3b65899
1 changed files with 0 additions and 9 deletions
|
|
@ -190,19 +190,10 @@ ignore = [
|
||||||
"PLR5501", # collapsible-else-if
|
"PLR5501", # collapsible-else-if
|
||||||
"PERF203", # try-except-in-loop
|
"PERF203", # try-except-in-loop
|
||||||
"B006", # mutable-argument-default
|
"B006", # mutable-argument-default
|
||||||
"PLR1714", # repeated-equality-comparison
|
|
||||||
"PERF401", # manual-list-comprehension
|
|
||||||
# TODO: these only have one violation each in Dec 2023:
|
# TODO: these only have one violation each in Dec 2023:
|
||||||
"SLOT000", # no-slots-in-str-subclass
|
"SLOT000", # no-slots-in-str-subclass
|
||||||
"PYI024", # collections-named-tuple
|
"PYI024", # collections-named-tuple
|
||||||
"PLW0603", # global-statement
|
|
||||||
"PIE800", # unnecessary-spread
|
"PIE800", # unnecessary-spread
|
||||||
"ISC003", # explicit-string-concatenation
|
|
||||||
"EXE002", # shebang-missing-executable-file
|
|
||||||
"C401", # unnecessary-generator-set
|
|
||||||
"C416", # unnecessary `list` comprehension
|
|
||||||
"B028", # no-explicit-stacklevel
|
|
||||||
"B008", # function-call-in-default-argument
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.ruff.lint.extend-per-file-ignores]
|
[tool.ruff.lint.extend-per-file-ignores]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue