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 -1
View File
@@ -69,7 +69,7 @@ def render_html_error(request: Request, exc: Exception) -> Optional[Response]:
)
def register_exception_handlers(app: FastAPI):
def register_exception_handlers(app: FastAPI): # noqa: C901
"""Register exception handlers for the FastAPI app"""
@app.exception_handler(Exception)