From 55418e766565449e7ce7fd69c0bd97fd3fdfb2bb Mon Sep 17 00:00:00 2001 From: "Bitdori (Admin)" Date: Tue, 4 Aug 2026 18:55:53 +0900 Subject: [PATCH 1/2] chore: add ruff.list rules --- pyproject.toml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c0e86d3..b0e7b76 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,6 +4,7 @@ version = "0.1.0" description = "Add your description here" readme = "README.md" requires-python = ">=3.14" +license = "LGPL-2.1-or-later" dependencies = [] [dependency-groups] @@ -25,11 +26,22 @@ target-version = "py313" [tool.ruff.lint] select = [ - "E", - "F", - "I", - "UP", - "B", + "E", # pycodestyle errors + "W", # pycodestyle warnings + "F", # pyflakes + "I", # isort + "N", # pep8-naming + "UP", # pyupgrade + "B", # flake8-bugbear + "C4", # flake8-comprehensions + "PIE", # flake8-pie + "PT", # flake8-pytest-style + "RET", # flake8-return + "SIM", # flake8-simplify + "ARG", # flake8-unused-arguments + "PTH", # flake8-use-pathlib + "ERA", # eradicate + "RUF", # ruff-specific rules ] [tool.ruff.lint.isort] From 0bd4c45ba485c0877f629574a6060baf831556b7 Mon Sep 17 00:00:00 2001 From: "Bitdori (Admin)" Date: Tue, 4 Aug 2026 18:55:53 +0900 Subject: [PATCH 2/2] chore: add ruff.list rules --- pyproject.toml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c0e86d3..b0e7b76 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,6 +4,7 @@ version = "0.1.0" description = "Add your description here" readme = "README.md" requires-python = ">=3.14" +license = "LGPL-2.1-or-later" dependencies = [] [dependency-groups] @@ -25,11 +26,22 @@ target-version = "py313" [tool.ruff.lint] select = [ - "E", - "F", - "I", - "UP", - "B", + "E", # pycodestyle errors + "W", # pycodestyle warnings + "F", # pyflakes + "I", # isort + "N", # pep8-naming + "UP", # pyupgrade + "B", # flake8-bugbear + "C4", # flake8-comprehensions + "PIE", # flake8-pie + "PT", # flake8-pytest-style + "RET", # flake8-return + "SIM", # flake8-simplify + "ARG", # flake8-unused-arguments + "PTH", # flake8-use-pathlib + "ERA", # eradicate + "RUF", # ruff-specific rules ] [tool.ruff.lint.isort]