chore: clear typehinting errors

This commit is contained in:
aclist committed 2026-05-12 15:58:09 +09:00
1 parent 2e5860650f
commit e52664cf9b
11 files changed
+35 -29

No files matched your search

+4 -4
View File
@@ -74,7 +74,7 @@ class Prerequisites:
passworded: bool
dayz_running: bool
steam_proc: SteamProcess
mods: list[str]
mods: list[list[str]]
foreground_cmd: str | None
game_mode: bool
@@ -90,7 +90,7 @@ class ConnectionManager:
self.workshop: Path
self.remote_mod_ids: list[str] = []
self.missing_mods: list[str, str, int, int] = []
self.missing_mods: list[tuple[str, str, int, int]] = []
@call_on_thread(dialog.querying)
def connect_by_id(self, _id: int, key: str) -> None:
@@ -206,7 +206,7 @@ class ConnectionManager:
mods = Servers.get_rules(record)
steam_path = self.controller.query_config(Preferences.DEFAULT)
local = get_local_mod_ids(steam_path)
alpha_mods = [
alpha_mods: list[list[str]] = [
[
mod.name,
str(mod.workshop_id),
@@ -231,7 +231,7 @@ class ConnectionManager:
destroy_first=True,
)
def _present_modlist_dialog(self, mods: list[str]) -> None:
def _present_modlist_dialog(self, mods: list[list[str]]) -> None:
dialog = ServerModDialog(self.controller, mods)
dialog.run()