mirror of
https://github.com/esphome/esphome.git
synced 2025-09-03 11:52:20 +01:00
[ruff] Enable PERF rules and fix all violations (#9874)
This commit is contained in:
@@ -111,12 +111,13 @@ exclude = ['generated']
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
"E", # pycodestyle
|
||||
"F", # pyflakes/autoflake
|
||||
"I", # isort
|
||||
"PL", # pylint
|
||||
"SIM", # flake8-simplify
|
||||
"UP", # pyupgrade
|
||||
"E", # pycodestyle
|
||||
"F", # pyflakes/autoflake
|
||||
"I", # isort
|
||||
"PERF", # performance
|
||||
"PL", # pylint
|
||||
"SIM", # flake8-simplify
|
||||
"UP", # pyupgrade
|
||||
]
|
||||
|
||||
ignore = [
|
||||
|
Reference in New Issue
Block a user