Skip to content

Commit f7639c2

Browse files
committed
fix: apply ruff format to extraction.py
1 parent 0bcd019 commit f7639c2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/agentevals/extraction.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def _parse_legacy_indexed_attrs(attrs: dict[str, Any], prefix: str) -> list[dict
6565
for key, value in attrs.items():
6666
if not key.startswith(prefix):
6767
continue
68-
rest = key[len(prefix):]
68+
rest = key[len(prefix) :]
6969
parts = rest.split(".", 1)
7070
if not parts[0].isdigit():
7171
continue
@@ -79,7 +79,7 @@ def _parse_legacy_indexed_attrs(attrs: dict[str, Any], prefix: str) -> list[dict
7979
elif field == "content":
8080
msg["content"] = value
8181
elif field.startswith("tool_calls."):
82-
tc_rest = field[len("tool_calls."):]
82+
tc_rest = field[len("tool_calls.") :]
8383
tc_parts = tc_rest.split(".", 1)
8484
if not tc_parts[0].isdigit() or len(tc_parts) < 2:
8585
continue

0 commit comments

Comments
 (0)