From ee18d703c6928606d45a9b217415535afcc8190a Mon Sep 17 00:00:00 2001 From: yucheng Date: Thu, 17 Sep 2026 02:10:24 +0000 Subject: [PATCH] chore(langfuse): mark the deliberate blind except in client teardown for the strict ruff gate Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/integrations/langfuse/langfuse_sdk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/integrations/langfuse/langfuse_sdk.py b/litellm/integrations/langfuse/langfuse_sdk.py index 7c093656944..6dc99c127ae 100644 --- a/litellm/integrations/langfuse/langfuse_sdk.py +++ b/litellm/integrations/langfuse/langfuse_sdk.py @@ -477,7 +477,7 @@ def _run_teardowns(state: _LangfuseLifecycleState, clients: tuple[Langfuse, ...] for index, client in enumerate(batch): try: _teardown_langfuse_client(client) - except Exception: + except Exception: # noqa: BLE001 # SDK shutdown can raise anything; the request holding the lease must survive it verbose_logger.exception("Langfuse client teardown failed during cache eviction") except BaseException: state.requeue(batch[index:])