Small lint adjustments.
This commit is contained in:
+1
-2
@@ -1,10 +1,9 @@
|
||||
"""Simple file to set up the sqlmodel connection to database."""
|
||||
|
||||
from sqlmodel import SQLModel, create_engine
|
||||
|
||||
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":
|
||||
url = f"mysql+pymysql://{config.SQL_USER}:{config.SQL_PASS}@{config.SQL_HOST}/{config.SQL_DB}"
|
||||
|
||||
Reference in New Issue
Block a user