mirror of
https://github.com/aclist/dztui.git
synced 2026-08-26 09:47:36 +02:00
chore: clear typehinting errors
This commit is contained in:
parent
07ea73ef2e
commit
a77697eec0
@ -1,14 +1,10 @@
|
||||
import logging
|
||||
import requests
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
from importlib import resources
|
||||
from packaging.version import Version
|
||||
|
||||
from dzgui.const.constants import APP_NAME, APP_NAME_LOWER, REQUEST_TIMEOUT
|
||||
from dzgui.const.constants import APP_NAME, REQUEST_TIMEOUT
|
||||
from dzgui.const.endpoints import GITHUB_RELEASES, CODEBERG_RELEASES
|
||||
from dzgui.init.prefix import is_prefix_writeable
|
||||
|
||||
logger = logging.getLogger(APP_NAME)
|
||||
|
||||
|
||||
@ -18,17 +18,17 @@ from dzgui.init.dayz import is_dayz_installed
|
||||
from dzgui.init.flock import lock_acquire
|
||||
from dzgui.init.migrate import (
|
||||
has_new_config,
|
||||
migrate_cols_file,
|
||||
migrate_legacy_conf,
|
||||
copy_state_files,
|
||||
# migrate_cols_file,
|
||||
# copy_state_files,
|
||||
)
|
||||
from dzgui.init.prefix import get_version
|
||||
from dzgui.init.prereqs import has_steam_client
|
||||
from dzgui.init.update import check_updates
|
||||
|
||||
# from dzgui.init.update import check_updates
|
||||
|
||||
from dzgui.strings import boot
|
||||
|
||||
from dzgui.util.map_count import get_map_count
|
||||
# from dzgui.util.map_count import get_map_count
|
||||
from dzgui.util.deck import is_steam_deck, is_game_mode
|
||||
from dzgui.util.localize import set_locale
|
||||
from dzgui.util.symlink import rebuild_symlinks
|
||||
|
||||
@ -182,7 +182,7 @@ class APIEntry(Gtk.Box):
|
||||
for el in self.entry, self.submit:
|
||||
self.add(el)
|
||||
|
||||
def get_entry(self) -> None:
|
||||
def get_entry(self) -> Gtk.Entry:
|
||||
return self.entry
|
||||
|
||||
def popup(self) -> None:
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
import json
|
||||
import textwrap
|
||||
|
||||
from enum import Enum
|
||||
|
||||
Loading…
Reference in New Issue
Block a user