Skip to content

Commit

Permalink
style: ignore complexity of ensure_package_and_question_state_exist w…
Browse files Browse the repository at this point in the history
…rapper for now
  • Loading branch information
MHajoha committed Aug 20, 2024
1 parent bd86790 commit 96b0bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion questionpy_server/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def decorator(function: RouteHandler) -> RouteHandler: # noqa: C901
raise TypeError(msg)

@functools.wraps(function)
async def wrapper(request: Request, *args: Any, **kwargs: Any) -> Any:
async def wrapper(request: Request, *args: Any, **kwargs: Any) -> Any: # noqa: C901
"""Wrapper around the actual function call."""
server: "QPyServer" = request.app["qpy_server_app"]
package_hash: str = request.match_info.get("package_hash", "")
Expand Down

0 comments on commit 96b0bf7

Please sign in to comment.