Ruff fixes

This commit is contained in:
Donkie
2023-05-28 22:55:11 +02:00
parent 639f91bd49
commit 235236d435
8 changed files with 8 additions and 8 deletions

View File

@@ -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.")