lint: remove redundant type ignores after mypy upgrade
This commit is contained in:
parent
cd81807339
commit
e0c7369d39
2 changed files with 2 additions and 2 deletions
|
@ -219,7 +219,7 @@ def cloud_account_new() -> ResponseReturnValue:
|
|||
form = NewCloudAccountForm()
|
||||
form.provider.choices = sorted([
|
||||
(provider.name, provider.description) for provider in CloudProvider
|
||||
], key=lambda p: p[1].lower()) # type: ignore[no-any-return]
|
||||
], key=lambda p: p[1].lower())
|
||||
if form.validate_on_submit():
|
||||
return redirect(url_for("portal.cloud.cloud_account_new_for", provider=form.provider.data))
|
||||
return render_template("new.html.j2",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue