mirror of
https://github.com/aclist/dztui.git
synced 2026-11-03 16:42:13 +01:00
chore: clear typehinting errors
This commit is contained in:
1 parent
f7fe62e661
commit
897186faa0
9 files changed
+32
-18
No files matched your search
@@ -1,8 +1,12 @@
|
||||
from typing import Callable, Literal, Self, TYPE_CHECKING
|
||||
from typing import Callable, Self, TYPE_CHECKING
|
||||
|
||||
from dzgui.util.clip import copy_clipboard
|
||||
from dzgui.util.format import pluralize
|
||||
from dzgui.util.strings import alert_button_tooltip, atomic_buttons, connect_panel
|
||||
from dzgui.util.strings import (
|
||||
alert_button_tooltip,
|
||||
atomic_buttons,
|
||||
connect_panel,
|
||||
)
|
||||
from dzgui.const.constants import (
|
||||
CLIPBOARD,
|
||||
INPUT_KEYBOARD,
|
||||
@@ -163,6 +167,12 @@ class SteamTextButton(SteamConnectButton):
|
||||
self.set_label(label)
|
||||
|
||||
|
||||
class SteamWorkshopButton(SteamTextButton):
|
||||
def __init__(self) -> None:
|
||||
super().__init__(label="Steam Workshop")
|
||||
self.set_tooltip_text("connect to workshop")
|
||||
|
||||
|
||||
class AddButton(IconTextButton):
|
||||
def __init__(self) -> None:
|
||||
super().__init__(icon=LIST_ADD, label=connect_panel.add)
|
||||
|
||||
Reference in new issue
Block a user