Annotate the return type of every function in loop_claude
This commit is contained in:
@@ -5,7 +5,7 @@ from loop_claude.file_writes import make_private, replace_file
|
||||
from loop_claude.outcome import Failure
|
||||
|
||||
|
||||
def archive(project, path, note, paths):
|
||||
def archive(project, path, note, paths) -> Failure | None:
|
||||
folder = paths.archive / project
|
||||
try:
|
||||
with open(path, "rb") as handle:
|
||||
|
||||
Reference in New Issue
Block a user