Skip to content

Commit

Permalink
Remove complexity warning
Browse files Browse the repository at this point in the history
By removing some code we have snuck the complexity level of this code
within the limit of 10, so it passes `ruff` now
  • Loading branch information
quis committed Dec 5, 2024
1 parent a6325e0 commit c5cc8f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main/views/sign_in.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@main.route("/sign-in", methods=(["GET", "POST"]))
@hide_from_search_engines
@redirect_if_logged_in
def sign_in(): # noqa: C901
def sign_in():
redirect_url = request.args.get("next")

form = LoginForm()
Expand Down

0 comments on commit c5cc8f6

Please sign in to comment.