fixed un needed noqa's

This commit is contained in:
2026-06-14 12:58:50 -04:00
parent 41e3e265af
commit a526420c8d
6 changed files with 8 additions and 11 deletions
+1 -4
View File
@@ -48,10 +48,7 @@ class DatabaseConfig:
def alembic_config(self) -> Config:
"""Build an alembic Config for this database."""
# Runtime import needed — Config is in TYPE_CHECKING for the return type annotation
from alembic.config import Config as AlembicConfig # noqa: PLC0415
cfg = AlembicConfig()
cfg = Config()
cfg.set_main_option("script_location", self.script_location)
cfg.set_main_option("file_template", self.file_template)
cfg.set_main_option("prepend_sys_path", ".")