1
0
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:
J. Nick Koston
2025-07-25 08:15:54 -10:00
committed by GitHub
parent 88ccde4ba1
commit f808c38f10
18 changed files with 90 additions and 96 deletions

View File

@@ -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 = [