diff options
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pyproject.toml b/pyproject.toml index 0ab3f3b..2a8b382 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ jishaku = "2.5.2" [tool.poetry.dev-dependencies] pre-commit = "3.6.0" -ruff = "0.1.14" +ruff = "0.2.0" taskipy = "1.12.2" [tool.taskipy.tasks] @@ -34,8 +34,13 @@ build-backend = "poetry.core.masonry.api" [tool.ruff] target-version = "py311" -select = ["ANN", "B", "C4", "D", "DTZ", "E", "F", "I", "ISC", "INT", "N", "PGH", "PIE", "Q", "RET", "RSE", "RUF", "S", "SIM", "T20", "TID", "UP", "W"] extend-exclude = [".cache"] +line-length = 100 +unsafe-fixes = true +preview = true + +[tool.ruff.lint] +select = ["ANN", "B", "C4", "D", "DTZ", "E", "F", "I", "ISC", "INT", "N", "PGH", "PIE", "Q", "RET", "RSE", "RUF", "S", "SIM", "T20", "TID", "UP", "W"] ignore = [ "ANN002", "ANN003", "ANN101", "ANN102", "ANN204", "ANN206", "ANN401", "B904", @@ -51,6 +56,3 @@ ignore = [ # Rules suggested to be ignored when using ruff format "D206", "E111", "E114", "E117", "E501", "ISC001", "Q000", "Q001", "Q002", "Q003", "W191", ] -line-length = 100 -unsafe-fixes = true -preview = true |