chore: clear typehinting errors

This commit is contained in:
aclist committed 2026-11-10 10:02:41 +09:00
1 parent e03c6905c6
commit 0c4026daf8
13 files changed
+33 -43

No files matched your search

+2 -1
View File
@@ -1,4 +1,5 @@
import re
from typing import Any
from dzgui.util.localize import number
from dzgui.strings.generic import selectable_tree
@@ -60,7 +61,7 @@ def format_server_mods(mods: int) -> str:
return f"Found {mods:n} {plural}. {workshop}"
def format_player_count(model: Gtk.TreeModel | None, control: list) -> str:
def format_player_count(model: Gtk.TreeModel | None, control: list[Any]) -> str:
players = 0
hits: int
status: str