mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Ignore more code style rules
This commit is contained in:
parent
a65c85300c
commit
b5b3f9b8b6
1 changed files with 2 additions and 0 deletions
|
|
@ -183,6 +183,7 @@ ignore = [
|
|||
"ISC001", # single-line-implicit-string-concatenation
|
||||
"C408", # unnecessary-collection-call
|
||||
"B904", # raise-without-from-inside-except
|
||||
"UP007", # use `|` operator for union type annotations (PEP 604)
|
||||
"UP031", # printf-string-formatting
|
||||
"PLR5501", # collapsible-else-if
|
||||
"PERF203", # try-except-in-loop
|
||||
|
|
@ -197,6 +198,7 @@ ignore = [
|
|||
"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
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue