chore: reduce max complexity lint (#3230)

This commit is contained in:
dni ⚡
2025-07-15 11:14:03 +02:00
parent 5765ea0276
commit ba0f7a01ef
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)`.