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

+9 -2
View File
@@ -38,8 +38,15 @@ def rc2json(file: Path) -> str:
keys: dict[str, Any] = {}
ips: list[str] = []
toggles = ["auto_install", "fullscreen"]
deprecated = ["staging_dir", "src_path", "steam_path", "debug", "branch"]
toggles = ["fullscreen"]
deprecated = [
"staging_dir",
"src_path",
"steam_path",
"debug",
"branch",
"auto_install",
]
while True:
tok = lex.get_token()
+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]: