Ruff fixes
This commit is contained in:
@@ -90,7 +90,7 @@ async def startup() -> None:
|
||||
# There is some issue with the uvicorn worker that causes the process to hang when running alembic directly.
|
||||
# See: https://github.com/sqlalchemy/alembic/discussions/1155
|
||||
project_root = Path(__file__).parent.parent
|
||||
subprocess.run(["alembic", "upgrade", "head"], check=True, cwd=project_root) # noqa: S603, S607
|
||||
subprocess.run(["alembic", "upgrade", "head"], check=True, cwd=project_root) # noqa: S603, S607, ASYNC101
|
||||
|
||||
logger.info("Startup complete.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user