Name each entry shape written_by_human checks, and annotate every parameter in loop_claude
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import dataclasses
|
||||
import pathlib
|
||||
import typing
|
||||
|
||||
|
||||
@dataclasses.dataclass(frozen=True)
|
||||
@@ -12,7 +13,7 @@ class Paths:
|
||||
models_file: pathlib.Path
|
||||
|
||||
|
||||
def paths_from(home, env) -> Paths:
|
||||
def paths_from(home: pathlib.Path, env: typing.Mapping[str, str]) -> Paths:
|
||||
claude = home / ".claude"
|
||||
return Paths(
|
||||
archive=pathlib.Path(env["LOOP_CLAUDE_TRANSCRIPTS"]).expanduser() if env.get("LOOP_CLAUDE_TRANSCRIPTS") else claude / "loop-claude-transcripts",
|
||||
|
||||
Reference in New Issue
Block a user