Update linting rules in pyproject.toml

Added new rules for isort, pyupgrade, flake8-debugger, flake8-print, flake8-pyi, flake8-pytest-style, flake8-tidy-imports, and Ruff-specific rules.
This commit is contained in:
LIghtJUNction
2026-03-19 03:35:58 +08:00
committed by GitHub
parent 46b7a4e441
commit b49c3210d9

View File

@@ -90,12 +90,17 @@ select = [
"F", # Pyflakes
"W", # pycodestyle warnings
"E", # pycodestyle errors
"I", # isort
"UP", # pyupgrade
"ASYNC", # flake8-async
"C4", # flake8-comprehensions
"T10", # flake8-debugger
"T20", # flake8-print
"PYI", # flake8-pyi
"PT", # flake8-pytest-style
"Q", # flake8-quotes
"I", # import-order
"UP", # pyupgrade
# "SIM", # flake8-simplify
"TID", # flake8-tidy-imports
"RUF", # Ruff-specific rules
]
ignore = [
"E501",