Skip to content

Commit 5399537

Browse files
author
dori
committed
fix: reformat
1 parent 9a1fde3 commit 5399537

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/mcp_as_a_judge/db/cleanup_service.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ def cleanup_old_records(self) -> int:
7373

7474
if old_count == 0:
7575
logger.info(
76-
f"🧹 Daily cleanup: No records older than "
77-
f"{self.retention_days} days"
76+
f"🧹 Daily cleanup: No records older than {self.retention_days} days"
7877
)
7978
self.last_cleanup_time = datetime.utcnow()
8079
return 0

tests/test_conversation_history_lifecycle.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,10 @@ async def test_lru_session_cleanup_lifecycle(self):
236236

237237
# Add recent activity to Session A (making it most recently used)
238238
await db.save_conversation(
239-
"session_A", "tool2", "recent_input", "recent_output"
239+
"session_A",
240+
"tool2",
241+
"recent_input",
242+
"recent_output",
240243
)
241244
print(" Session A: Updated with recent activity (most recently used)")
242245

0 commit comments

Comments
 (0)