Pass mypy on loop_claude

This commit is contained in:
2026-09-29 15:47:41 +02:00
parent 099e9e19a5
commit 6e643cc87c
10 changed files with 18 additions and 17 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ def run_worker(root, args) -> Failure | None:
return Failure(f"could not start claude: {failure.strerror}")
with proc:
done = False
for raw in proc.stdout:
for raw in proc.stdout or ():
event = parse(raw) or {}
done = done or ends_stream(event)
for part in assistant_parts(event):