style: suppress pre-existing BLE001 lint warning

This commit is contained in:
samearth17 2026-08-15 01:11:03 +05:30
parent 8326e1107a
commit ff2b73392c

View file

@ -573,7 +573,7 @@ class AnthropicMessagesConfig(BaseAnthropicMessagesConfig):
"""
try:
raw_response_json: Final = raw_response.json()
except Exception:
except Exception: # noqa: BLE001
raise AnthropicError(message=raw_response.text, status_code=raw_response.status_code)
return AnthropicMessagesResponse(**raw_response_json)