Skip to content

Commit 34c6495

Browse files
Ignore SIM102 as well
SIM102 Use a single `if` statement instead of nested `if` statements
1 parent 4dcd776 commit 34c6495

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ ignore = [
284284
"PIE790", # unnecessary pass statement
285285
"PYI019", # use `Self` instead of custom TypeVar
286286
"PYI041", # use `float` instead of `int | float`
287+
"SIM102", # use a single `if` statement instead of nested `if` statements
287288
"SIM108", # use ternary operator instead of `if`-`else`-block
288289
"SIM117", # use a single `with` statement instead of nested `with` statements
289290
"SIM118", # use `key in dict` instead of `key in dict.keys()`

0 commit comments

Comments
 (0)