style: apply ruff format to persistence and runtime files

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
rayhpeng
2026-04-05 23:44:48 +08:00
parent 107b3143c3
commit 07954cf9d2
9 changed files with 37 additions and 41 deletions
+4 -1
View File
@@ -41,7 +41,10 @@ class TestFeedbackRepository:
async def test_create_negative_with_comment(self, tmp_path):
repo = await _make_feedback_repo(tmp_path)
record = await repo.create(
run_id="r1", thread_id="t1", rating=-1, comment="Response was inaccurate",
run_id="r1",
thread_id="t1",
rating=-1,
comment="Response was inaccurate",
)
assert record["rating"] == -1
assert record["comment"] == "Response was inaccurate"
+4 -2
View File
@@ -947,8 +947,10 @@ class TestFullRunSequence:
# 1. Human message (written by worker, using model_dump format)
human_msg = HumanMessage(content="Search for quantum computing")
await store.put(
thread_id="t1", run_id="r1",
event_type="human_message", category="message",
thread_id="t1",
run_id="r1",
event_type="human_message",
category="message",
content=human_msg.model_dump(),
)
j.set_first_human_message("Search for quantum computing")