Name each entry shape written_by_human checks, and annotate every parameter in loop_claude
This commit is contained in:
@@ -3,9 +3,10 @@ import sys
|
||||
|
||||
from loop_claude.file_writes import make_private, replace_file
|
||||
from loop_claude.outcome import Failure
|
||||
from loop_claude.paths import Paths
|
||||
|
||||
|
||||
def archive(project, path, note, paths) -> Failure | None:
|
||||
def archive(project: str, path: str, note: str, paths: Paths) -> Failure | None:
|
||||
folder = paths.archive / project
|
||||
try:
|
||||
with open(path, "rb") as handle:
|
||||
|
||||
Reference in New Issue
Block a user