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  # <reason>' shape.
This commit is contained in:
Yaniv Israel 2026-07-13 21:59:02 +03:00
parent ba4a3ba057
commit 2f2e1ab9b4

View file

@ -374,7 +374,7 @@ class DeepKeepGuardrail(CustomGuardrail):
) )
except httpx.RequestError as e: except httpx.RequestError as e:
return self._handle_guardrail_request_error(e, inputs, input_type, logging_obj) 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) return self._handle_guardrail_request_error(e, inputs, input_type, logging_obj, is_unreachable=False)
@staticmethod @staticmethod