From a08fc5a1d24e23a3885ff4c01d29afa1d40ead8e Mon Sep 17 00:00:00 2001 From: Satoru Sato Date: Wed, 13 Aug 2025 18:17:52 +0900 Subject: [PATCH] fix: update the list of ruff linter's rules to ignore - ANN10{1,2}: deprecated and removed - D203: Added to ignore instead of D211 --- pyproject.toml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 08a1710f..ecb7fe77 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -128,12 +128,8 @@ src = [ ignore = [ "ANN002", # https://docs.astral.sh/ruff/rules/missing-type-args/ "ANN003", # https://docs.astral.sh/ruff/rules/missing-type-kwargs/ - - "ANN101", # https://docs.astral.sh/ruff/rules/missing-type-self/ - "ANN102", # I can't see any meaning in it as the first 'cls' argument - # should be the class itself as usual. - # https://docs.astral.sh/ruff/rules/missing-type-cls/ "ANN401", # https://docs.astral.sh/ruff/rules/any-type/ + "D203", # https://docs.astral.sh/ruff/rules/incorrect-blank-line-before-class/ "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports/ # https://github.com/PyCQA/isort/issues/2146