From 2f2e1ab9b495e1b5970330c35cdce037c90e5ebc Mon Sep 17 00:00:00 2001 From: Yaniv Israel Date: Mon, 13 Jul 2026 21:59:02 +0300 Subject: [PATCH] fix(lint): add reason to BLE001 noqa to satisfy type-discipline gate (LIT003) The type-discipline budget ratcheted LIT003's ceiling to 292 as upstream fixed reasonless suppressions, so our '# noqa: BLE001' (code but no reason) tipped the total to 293 and failed CI. Add a reason per the required '# noqa: CODE # ' shape. --- litellm/proxy/guardrails/guardrail_hooks/deepkeep/deepkeep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/guardrails/guardrail_hooks/deepkeep/deepkeep.py b/litellm/proxy/guardrails/guardrail_hooks/deepkeep/deepkeep.py index dccab406d41..7021e6beffd 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/deepkeep/deepkeep.py +++ b/litellm/proxy/guardrails/guardrail_hooks/deepkeep/deepkeep.py @@ -374,7 +374,7 @@ class DeepKeepGuardrail(CustomGuardrail): ) except httpx.RequestError as e: return self._handle_guardrail_request_error(e, inputs, input_type, logging_obj) - except Exception as e: # noqa: BLE001 + except Exception as e: # noqa: BLE001 # route unexpected errors through fail-open/closed handling return self._handle_guardrail_request_error(e, inputs, input_type, logging_obj, is_unreachable=False) @staticmethod