mirror of
https://github.com/codeflash-ai/codeflash-agent.git
synced 2026-05-04 18:25:19 +00:00
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:
parent
8144c00336
commit
791de5e887
1 changed files with 1 additions and 1 deletions
|
|
@ -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", "")
|
||||
|
|
|
|||
Loading…
Reference in a new issue