chore: reduce max complexity lint (#3230)

This commit is contained in:
dni ⚡
2025-07-02 14:02:47 +03:00
committed by GitHub
parent 5f0a8d78e0
commit 9b1418b1f4
10 changed files with 10 additions and 11 deletions
+1 -2
View File
@@ -211,8 +211,7 @@ classmethod-decorators = [
]
[tool.ruff.lint.mccabe]
# TODO: Decrease this to 10.
max-complexity = 16
max-complexity = 10
[tool.ruff.lint.flake8-bugbear]
# Allow default arguments like, e.g., `data: List[str] = fastapi.Query(None)`.