style: apply ruff auto-fix

- Auto-formatted code with ruff format
- Applied ruff linting fixes with --fix

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2026-03-08 22:40:15 +00:00
parent 5864a4ed06
commit b22f9a6af6
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -48,6 +48,7 @@ SESSION_SECRET = (
settings.session_secret or "INSECURE_DEFAULT_FOR_DEVELOPMENT_ONLY_DO_NOT_USE_IN_PRODUCTION_MINIMUM_32_CHARS"
)
@asynccontextmanager
async def lifespan(app: FastAPI):
"""
-1
View File
@@ -120,7 +120,6 @@ class TestLifespanEvents:
@pytest.mark.asyncio
async def test_lifespan_calls_init_sentry_after_db_settings_load(self):
"""Test that init_sentry is called inside lifespan after load_settings_from_db."""
from unittest.mock import call
with (
patch("app.database.init_db"),