mirror of
https://github.com/NCBM/plyngent.git
synced 2026-07-23 22:44:59 +08:00
ci/lint: ruff format todo stack and related CLI/agent files
This commit is contained in:
@@ -191,12 +191,7 @@ async def test_loop_injects_todo_review_when_untouched() -> None:
|
||||
async for _event in agent.run("do stuff"):
|
||||
pass
|
||||
assert client.calls >= 2
|
||||
assert any(
|
||||
isinstance(m, DeveloperChatMessage) and "Todo stack review" in m.content
|
||||
for m in agent.messages
|
||||
)
|
||||
assert not any(
|
||||
isinstance(m, UserChatMessage) and "Todo stack review" in m.content for m in agent.messages
|
||||
)
|
||||
assert any(isinstance(m, DeveloperChatMessage) and "Todo stack review" in m.content for m in agent.messages)
|
||||
assert not any(isinstance(m, UserChatMessage) and "Todo stack review" in m.content for m in agent.messages)
|
||||
finally:
|
||||
set_todo_stack(None)
|
||||
|
||||
Reference in New Issue
Block a user