[ruff] Enable SIM rules and fix code simplification violations (#9872)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2025-07-25 18:26:08 +12:00
1 parent cb87f156d0
commit ffebd30033
72 files changed
+400 -432

No files matched your search

+6 -5
View File
@@ -111,11 +111,12 @@ exclude = ['generated']
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes/autoflake
"I", # isort
"PL", # pylint
"UP", # pyupgrade
"E", # pycodestyle
"F", # pyflakes/autoflake
"I", # isort
"PL", # pylint
"SIM", # flake8-simplify
"UP", # pyupgrade
]
ignore = [