chore: clear typehinting errors

This commit is contained in:
aclist committed 2026-05-14 16:15:22 +09:00
1 parent ea1b9facd2
commit 2ebe8cad84
9 files changed
+35 -27

No files matched your search

+2 -2
View File
@@ -23,7 +23,7 @@ def lookup(path: Path, enum: Preferences) -> Any:
return None
def get_config(path: Path) -> dict:
def get_config(path: Path) -> Any:
# TODO: is this being called multiple times?
try:
json = read_json(path)
@@ -37,7 +37,7 @@ def get_favorites(path: Path) -> list[str]:
conf = get_config(path)
except Exception:
pass
return conf["ip_list"]
return list(conf["ip_list"])
# def is_in_favs(record: str, path: Path) -> bool: