From 2cd71bf086542d3a9144b9d2e7417a17304d00f7 Mon Sep 17 00:00:00 2001 From: Jack Kingsman Date: Sun, 29 Mar 2026 19:09:36 -0700 Subject: [PATCH] Fix linting --- app/fanout/manager.py | 4 +--- frontend/src/components/settings/SettingsFanoutSection.tsx | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/fanout/manager.py b/app/fanout/manager.py index 5579b93..dcb7353 100644 --- a/app/fanout/manager.py +++ b/app/fanout/manager.py @@ -221,9 +221,7 @@ class FanoutManager: await asyncio.wait_for(handler(data), timeout=_DISPATCH_TIMEOUT_SECONDS) self._clear_module_error(config_id) except asyncio.TimeoutError: - timeout_error = ( - f"{handler_name} timed out after {_DISPATCH_TIMEOUT_SECONDS:.1f}s" - ) + timeout_error = f"{handler_name} timed out after {_DISPATCH_TIMEOUT_SECONDS:.1f}s" self._set_module_error(config_id, timeout_error) logger.error( "Fanout %s %s timed out after %.1fs; restarting module", diff --git a/frontend/src/components/settings/SettingsFanoutSection.tsx b/frontend/src/components/settings/SettingsFanoutSection.tsx index 71911f8..f6f08d3 100644 --- a/frontend/src/components/settings/SettingsFanoutSection.tsx +++ b/frontend/src/components/settings/SettingsFanoutSection.tsx @@ -2229,9 +2229,7 @@ export function SettingsFanoutSection({ - {errorDialogState - ? `${errorDialogState.integrationName} Error` - : 'Integration Error'} + {errorDialogState ? `${errorDialogState.integrationName} Error` : 'Integration Error'} Most recent backend error retained for this integration.