From 74c898ab3c3fbb05cd43f25a2a5cda09c81e92a3 Mon Sep 17 00:00:00 2001 From: Alex Garcia Date: Mon, 31 Aug 2026 13:20:55 -0700 Subject: [PATCH] Apply ruff 0.16 and black fixes Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_012U7coQfVu8nK2R4q2mCULA --- tests/test_lifespan.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/test_lifespan.py b/tests/test_lifespan.py index 9283542a..38d6be3b 100644 --- a/tests/test_lifespan.py +++ b/tests/test_lifespan.py @@ -283,10 +283,9 @@ async def test_asgi_wrapper_runs_after_startup_fallback_path(): def wrap(app): async def check_startup(scope, receive, send): if scope["type"] == "http": - assert datasette._startup_invoked is True, ( - "asgi_wrapper saw an http scope before startup " - "completed" - ) + assert ( + datasette._startup_invoked is True + ), "asgi_wrapper saw an http scope before startup completed" await app(scope, receive, send) return check_startup