ADD function signatures and remove unused recording commands

This commit is contained in:
2025-12-18 01:16:59 +00:00
parent fab19ae1b6
commit 36868a08ec
3 changed files with 11 additions and 22 deletions

View File

@@ -18,7 +18,7 @@ def load_state() -> dict:
with get_state_file_path().open() as f:
return json.load(f)
def write_state(state: dict):
def write_state(state: dict) -> None:
tmp = get_state_file_path().with_suffix(".tmp")
with tmp.open("w") as f:
json.dump(state, f, indent=2)