mirror of
https://github.com/DragonMinded/bemaniutils.git
synced 2026-04-26 01:45:17 -05:00
Fix some small typing issues with newest mypy.
This commit is contained in:
parent
db6171582e
commit
a97df7d24a
|
|
@ -1,6 +1,6 @@
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import alembic.config # type: ignore
|
import alembic.config
|
||||||
from alembic.migration import MigrationContext # type: ignore
|
from alembic.migration import MigrationContext # type: ignore
|
||||||
from alembic.autogenerate import compare_metadata # type: ignore
|
from alembic.autogenerate import compare_metadata # type: ignore
|
||||||
from sqlalchemy import create_engine # type: ignore
|
from sqlalchemy import create_engine # type: ignore
|
||||||
|
|
@ -153,7 +153,7 @@ class Data:
|
||||||
]
|
]
|
||||||
alembicArgs.extend(args)
|
alembicArgs.extend(args)
|
||||||
os.chdir(base_dir)
|
os.chdir(base_dir)
|
||||||
alembic.config.main(argv=alembicArgs)
|
alembic.config.main(argv=alembicArgs) # type: ignore
|
||||||
|
|
||||||
def create(self) -> None:
|
def create(self) -> None:
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user