Ignore Ruff RUF015 (#115481)

This commit is contained in:
Sid 2024-04-13 09:46:04 +02:00 committed by GitHub
parent bb9330135d
commit 1a9ff8c8fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -753,6 +753,7 @@ ignore = [
"RUF001", # String contains ambiguous unicode character.
"RUF002", # Docstring contains ambiguous unicode character.
"RUF003", # Comment contains ambiguous unicode character.
"RUF015", # Prefer next(...) over single element slice
"SIM102", # Use a single if statement instead of nested if statements
"SIM108", # Use ternary operator {contents} instead of if-else-block
"SIM115", # Use context handler for opening files