From b49c3210d93be36f99ded111af35dd39ef52ebb9 Mon Sep 17 00:00:00 2001 From: LIghtJUNction Date: Thu, 19 Mar 2026 03:35:58 +0800 Subject: [PATCH] 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. --- pyproject.toml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ecc3a9585..d29e7275e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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",