chore: clear typehinting errors

This commit is contained in:
aclist committed 2026-05-26 03:59:11 +09:00
1 parent d57277f527
commit 41b3ad8eca
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ def read_json(path: Path) -> Any:
raise e
def write_json(data: dict, path: Path) -> None:
def write_json(data: dict[str, Any], path: Path) -> None:
try:
j = json.dumps(data, indent=2)
path.write_text(j)