mirror of
https://github.com/aclist/dztui.git
synced 2026-10-26 20:52:44 +01:00
chore: clear typehinting errors
This commit is contained in:
1 parent
fad8d2f43b
commit
f24b3574b8
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -40,7 +40,7 @@ import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
gi.require_version("GLibUnix", "2.0")
|
||||
from gi.repository import Gtk, GLib, GLibUnix, Gdk # noqa E402
|
||||
from gi.repository import Gtk, GLib, GLibUnix, Gdk # type: ignore # noqa E402
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from dzgui.config.userprefs import UserPrefs
|
||||
|
||||
@@ -11,7 +11,7 @@ gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk # noqa E402
|
||||
|
||||
|
||||
class AbortDialog(ColorAwareApp, Gtk.MessageDialog):
|
||||
class AbortDialog(ColorAwareApp, Gtk.MessageDialog): # type: ignore
|
||||
def __init__(self, string: str, buttons: Gtk.ButtonsType) -> None:
|
||||
super().__init__(
|
||||
title=dialog_header,
|
||||
|
||||
Reference in new issue
Block a user