Add if-key-in-dict-del ruff rule to ignore list (#3082)

The rule is concerned with code style rather than correctness or
performance.
This commit is contained in:
correctmost 2025-01-07 20:41:25 +00:00 committed by GitHub
parent e712144e5d
commit 25b7bbb0ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -212,6 +212,7 @@ ignore = [
"RUF012", # mutable-class-default
"RUF015", # unnecessary-iterable-allocation-for-first-element
"RUF039", # unraw-re-pattern
"RUF051", # if-key-in-dict-del
"UP037", # quoted-annotation
"W191", # tab-indentation
]