summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyproject.toml11
1 files changed, 11 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 6938778..f6815da 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -12,3 +12,14 @@ addopts = "--import-mode=importlib"
[tool.ruff]
target-version = "py312"
line-length = 100
+
+[tool.ruff.lint]
+select = ["E", "W", "F", "I", "B", "UP", "ASYNC", "PERF", "C4", "RUF"]
+ignore = ["E501"]
+
+[tool.ruff.lint.per-file-ignores]
+"tests/*" = ["F841"]
+"*/tests/*" = ["F841"]
+
+[tool.ruff.lint.isort]
+known-first-party = ["shared"]