fix: add noqa C901 for inlined parse_user_entry

The tool_result iteration was inlined for single-pass performance,
which pushes complexity above the C901 threshold.
This commit is contained in:
Kevin Turcios 2026-04-29 02:20:54 -05:00
parent 8144c00336
commit 791de5e887

View file

@ -96,7 +96,7 @@ def parse_entry(raw: dict[str, Any]) -> list[LogEntry]:
return []
def parse_user_entry(ts: float, message: Any, raw: dict[str, Any]) -> list[LogEntry]:
def parse_user_entry(ts: float, message: Any, raw: dict[str, Any]) -> list[LogEntry]: # noqa: C901
if not isinstance(message, dict):
return []
content = message.get("content", "")