From d2a27d4a78a97bcb23aec7b23a38777fe85d37d6 Mon Sep 17 00:00:00 2001 From: Dennis Thiessen Date: Sun, 26 Jul 2026 17:29:08 +0200 Subject: [PATCH] Fix F541 lint failure in the event study summary A conditional clause in the summary sentence carried an f prefix with no placeholders, failing `ruff check app/` and blocking the deploy. Literal only; the rendered text is unchanged. Co-Authored-By: Claude Opus 5 --- app/services/event_study_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/event_study_service.py b/app/services/event_study_service.py index adac51f..a57f6c7 100644 --- a/app/services/event_study_service.py +++ b/app/services/event_study_service.py @@ -282,7 +282,7 @@ async def run_event_study( f"{metrics['events']} of {reliability['events_detected']} detected corrections " f"fall in the test period" + ( - f"; too few to read recall as a property of the score." + "; too few to read recall as a property of the score." if reliability["underpowered"] else "." )