aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-02-02 15:56:44 +0000
committerGravatar Chris Lovering <[email protected]>2024-02-02 15:56:44 +0000
commit7ba07bfcfd1d6ba20b6c509c6a5939a19871d742 (patch)
tree274e2664d7c2132b1fa254b8673416fd58cfd521 /pyproject.toml
parentBump pydis-core and kubernetes_asyncio to latest (diff)
Bump ruff to 0.2.0
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml12
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