chore: clear typehinting errors

This commit is contained in:
aclist committed 2026-05-13 20:13:06 +09:00
1 parent fe0a6711f0
commit 866c88fbb0
14 files changed
+65 -43

No files matched your search

+2 -2
View File
@@ -24,12 +24,12 @@ def lookup(path: Path, enum: Preferences) -> Any:
def get_config(path: Path) -> dict:
# TODO: is this being called twice?
# TODO: is this being called multiple times?
try:
json = read_json(path)
return json
except Exception as e:
raise e
return json
def get_favorites(path: Path) -> list[str]: