mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Enable PERF ruff rules (#113408)
This commit is contained in:
parent
a16ea3d7bd
commit
606ee3c379
@ -599,9 +599,7 @@ select = [
|
||||
"N804", # First argument of a class method should be named cls
|
||||
"N805", # First argument of a method should be named self
|
||||
"N815", # Variable {name} in class scope should not be mixedCase
|
||||
"PERF101", # Do not cast an iterable to list before iterating over it
|
||||
"PERF102", # When using only the {subset} of a dict use the {subset}() method
|
||||
"PERF203", # try-except within a loop incurs performance overhead
|
||||
"PERF", # Perflint
|
||||
"PGH004", # Use specific rule codes when using noqa
|
||||
"PLC0414", # Useless import alias. Import alias does not rename original package.
|
||||
"PLC", # pylint
|
||||
|
Loading…
x
Reference in New Issue
Block a user