mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 10:48:01 +02:00
Ignore Ruff RUF015 (#115481)
This commit is contained in:
@ -753,6 +753,7 @@ ignore = [
|
|||||||
"RUF001", # String contains ambiguous unicode character.
|
"RUF001", # String contains ambiguous unicode character.
|
||||||
"RUF002", # Docstring contains ambiguous unicode character.
|
"RUF002", # Docstring contains ambiguous unicode character.
|
||||||
"RUF003", # Comment 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
|
"SIM102", # Use a single if statement instead of nested if statements
|
||||||
"SIM108", # Use ternary operator {contents} instead of if-else-block
|
"SIM108", # Use ternary operator {contents} instead of if-else-block
|
||||||
"SIM115", # Use context handler for opening files
|
"SIM115", # Use context handler for opening files
|
||||||
|
Reference in New Issue
Block a user