Small lint adjustments.

This commit is contained in:
2025-03-03 21:52:54 -05:00
parent cf5629a6dd
commit 0ad425b982
+1 -2
View File
@@ -1,10 +1,9 @@
"""Simple file to set up the sqlmodel connection to database.""" """Simple file to set up the sqlmodel connection to database."""
from sqlmodel import SQLModel, create_engine from sqlmodel import SQLModel, create_engine
from utilities import config from utilities import config
from . import models # noqa: F401 Need this import for creating the models. from . import models # noqa: F401 - Need this import for creating the models.
if config.ENVIRONMENT == "prod": if config.ENVIRONMENT == "prod":
url = f"mysql+pymysql://{config.SQL_USER}:{config.SQL_PASS}@{config.SQL_HOST}/{config.SQL_DB}" url = f"mysql+pymysql://{config.SQL_USER}:{config.SQL_PASS}@{config.SQL_HOST}/{config.SQL_DB}"