Add 'type: ignore' for mypy
This commit is contained in:
parent
52f7877bb8
commit
99db7df7f1
|
@ -90,7 +90,8 @@ def global_user() -> None:
|
|||
def index() -> str | Response:
|
||||
"""Index page."""
|
||||
if "oauth_verifier" in flask.request.args and "oauth_token" in flask.request.args:
|
||||
return flask.redirect(flask.url_for("oauth_callback", **flask.request.args))
|
||||
url = flask.url_for("oauth_callback", **flask.request.args) # type: ignore
|
||||
return flask.redirect(url)
|
||||
|
||||
examples = load_examples()
|
||||
examples.sort(
|
||||
|
|
Loading…
Reference in a new issue