chore: avoid repeated type ignore noqa by adding flask_restful and flask_login in mypy import exclusions (#19224)
This commit is contained in:
parent
4b77c9df9d
commit
8537abfff8
141 changed files with 212 additions and 202 deletions
|
|
@ -668,7 +668,7 @@ def upgrade_db():
|
|||
click.echo(click.style("Starting database migration.", fg="green"))
|
||||
|
||||
# run db migration
|
||||
import flask_migrate # type: ignore
|
||||
import flask_migrate
|
||||
|
||||
flask_migrate.upgrade()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue