chore: reduce max complexity lint (#3230)

This commit is contained in:
dni ⚡ 2025-07-02 13:02:47 +02:00
parent 5765ea0276
commit ba0f7a01ef
No known key found for this signature in database
GPG key ID: D1F416F29AD26E87
10 changed files with 10 additions and 11 deletions

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)`.