From 4ad3a45813f51dcac8c04210e017c8bef615dcb8 Mon Sep 17 00:00:00 2001 From: Yoshiaki Bando Date: Fri, 12 Apr 2024 00:36:38 +0900 Subject: [PATCH 1/2] Update ruff config --- pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6542a9159..e8da28f62 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,6 @@ line-length = 120 target-version = "py310" fix = true -select = ["E", "F", "W", "UP", "B", "SIM", "I", "C"] +[tool.ruff.lint] +select = ["F", "E", "W", "UP", "B", "SIM", "I", "C", "A", "ERA", "N"] -[tool.ruff.per-file-ignores] -"__init__.py" = ["F401"] From 660f77555229f21924fc26cbf46aa1d05f1c9606 Mon Sep 17 00:00:00 2001 From: Yoshiaki Bando Date: Fri, 12 Apr 2024 00:38:14 +0900 Subject: [PATCH 2/2] Update ruff config --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e8da28f62..92e2adde5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,5 +52,5 @@ target-version = "py310" fix = true [tool.ruff.lint] -select = ["F", "E", "W", "UP", "B", "SIM", "I", "C", "A", "ERA", "N"] +select = ["F", "E", "W", "UP", "B", "SIM", "I", "C", "A", "ERA", "N", "C90"]