chore: annotate **kwargs to satisfy ANN003 strict rule

Removing 'Any' in the prior commit left **kwargs untyped, which
tripped ANN003 (missing type annotation on **kwargs). Using 'object'
threads the strict-rule budget cleanly.
This commit is contained in:
Sudhi Seshachala 2026-08-24 16:41:48 -05:00 committed by Conduct AI
parent 76d00b1574
commit bb74e4e562
No known key found for this signature in database

View file

@ -137,7 +137,7 @@ class ConductGuardrail(CustomGuardrail):
fail_mode: FailMode = "fail_closed",
tool_name: str = "llm_call",
timeout: float = 8.0,
**kwargs,
**kwargs: object,
) -> None:
kwargs.setdefault("supported_event_hooks", list(self.get_supported_event_hooks()))
super().__init__(**kwargs)