[loop-cycle-56] fix: resolve 5 lint errors on main (#203) (#224)

This commit is contained in:
2026-03-15 13:40:40 -04:00
parent b4cb3e9975
commit a50af74ea2
6 changed files with 41 additions and 31 deletions

View File

@@ -77,7 +77,7 @@ async def test_chat_records_error_on_exception():
):
from timmy.session import chat
result = await chat("Hi Timmy")
await chat("Hi Timmy")
# Verify error was recorded
mock_session_logger.record_error.assert_called_once()
@@ -101,7 +101,7 @@ async def test_chat_records_error_on_connection_error():
):
from timmy.session import chat
result = await chat("Hi Timmy")
await chat("Hi Timmy")
# Verify error was recorded
mock_session_logger.record_error.assert_called_once()
@@ -204,7 +204,7 @@ async def test_chat_with_tools_records_error():
):
from timmy.session import chat_with_tools
result = await chat_with_tools("Use a tool")
await chat_with_tools("Use a tool")
# Verify error was recorded
mock_session_logger.record_error.assert_called_once()
@@ -271,7 +271,7 @@ async def test_continue_chat_records_error():
):
from timmy.session import continue_chat
result = await continue_chat(mock_run_output)
await continue_chat(mock_run_output)
# Verify error was recorded
mock_session_logger.record_error.assert_called_once()

View File

@@ -292,7 +292,7 @@ class TestSemanticMemory:
conn = sqlite3.connect(str(mem.db_path))
cursor = conn.execute(
"SELECT COUNT(*) FROM memories WHERE source = ? AND memory_type = 'vault_chunk'",
(str(md_file),)
(str(md_file),),
)
stored_count = cursor.fetchone()[0]
conn.close()