Skip to content

Commit 5ba2830

Browse files
style: apply pyink formatting to evaluation files
1 parent fa7b65b commit 5ba2830

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/google/adk/evaluation/evaluation_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def convert_events_to_eval_invocations(
319319
# also cause a Pydantic ValidationError because Invocation.user_content
320320
# requires a Content object.
321321
logger.debug(
322-
'Skipping invocation %s: no user-authored event found.',
322+
"Skipping invocation %s: no user-authored event found.",
323323
invocation_id,
324324
)
325325
continue

tests/unittests/evaluation/test_evaluation_generator.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,9 @@ def test_invocation_without_user_event_is_skipped(self):
244244
# Must not raise a Pydantic ValidationError.
245245
invocations = EvaluationGenerator.convert_events_to_eval_invocations(events)
246246

247-
assert invocations == [], (
248-
"Invocations without a user event should be skipped."
249-
)
247+
assert (
248+
invocations == []
249+
), "Invocations without a user event should be skipped."
250250

251251
def test_mixed_invocations_skips_only_agent_only_ones(self):
252252
"""Only agent-only invocations are skipped; normal invocations are kept.

0 commit comments

Comments
 (0)