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
+2 -2
View File
@@ -21,7 +21,7 @@ def trust(config, roots) -> None:
updated, untrusted = marked
if not untrusted:
return
if failure := replace_json(config, updated, indent=2):
print(f"could not write {config}: {failure.reason}", file=sys.stderr)
if unwritten := replace_json(config, updated, indent=2):
print(f"could not write {config}: {unwritten.reason}", file=sys.stderr)
return
print("trusted for the interrupt: " + ", ".join(untrusted), file=sys.stderr)