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:
@@ -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):
|
||||
"""
|
||||
|
||||
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user