chore: reduce max complexity lint (#3230)
This commit is contained in:
parent
5765ea0276
commit
ba0f7a01ef
10 changed files with 10 additions and 11 deletions
|
|
@ -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)`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue