chore: add ruff.list rules

This commit is contained in:
Bitdori (Admin) 2026-08-04 18:55:53 +09:00 committed by bitdori
parent c432420f90
commit 0bd4c45ba4

View file

@ -4,6 +4,7 @@ version = "0.1.0"
description = "Add your description here" description = "Add your description here"
readme = "README.md" readme = "README.md"
requires-python = ">=3.14" requires-python = ">=3.14"
license = "LGPL-2.1-or-later"
dependencies = [] dependencies = []
[dependency-groups] [dependency-groups]
@ -25,11 +26,22 @@ target-version = "py313"
[tool.ruff.lint] [tool.ruff.lint]
select = [ select = [
"E", "E", # pycodestyle errors
"F", "W", # pycodestyle warnings
"I", "F", # pyflakes
"UP", "I", # isort
"B", "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] [tool.ruff.lint.isort]