mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Ignore Ruff RUF015 (#115481)
This commit is contained in:
parent
bb9330135d
commit
1a9ff8c8fa
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user