From 79db1638726b5d1eddb8f8f4585bca8e5d8cabac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 3 Nov 2025 08:44:18 +0100 Subject: [PATCH] chore: update ruff configuration --- pyproject.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2e4560d..8e410bb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,7 +56,10 @@ test-requires = "pytest" [tool.isort] profile = "black" -[tool.ruff] +[tool.ruff.format] +docstring-code-format = true + +[tool.ruff.lint] ignore = [ "S101", # CONFIG: using pytest "D203", # CONFIG: incompatible with D211 @@ -64,17 +67,14 @@ ignore = [ ] select = ["ALL"] -[tool.ruff.format] -docstring-code-format = true - [tool.ruff.lint.isort] known-first-party = ["siphashc"] known-third-party = ["pytest"] -[tool.ruff.mccabe] +[tool.ruff.lint.mccabe] max-complexity = 16 -[tool.ruff.per-file-ignores] +[tool.ruff.lint.per-file-ignores] "benchmark.py" = ["T201"] [tool.setuptools]