chore: clear typehinting errors

This commit is contained in:
aclist committed 2026-06-10 05:45:08 +09:00
1 parent bc1118a29f
commit 46fba4eef1
6 files changed
+32 -26

No files matched your search

+2 -1
View File
@@ -1,3 +1,4 @@
from typing import Self
from dzgui.util import css
import gi
@@ -21,7 +22,7 @@ class HeadingFrame(Gtk.Box):
self.add(self.frame)
@classmethod
def new_with_widget_and_label(cls, widget: Gtk.Widget, label: str) -> None:
def new_with_widget_and_label(cls, widget: Gtk.Widget, label: str) -> Self:
n = cls()
n.frame.add(widget)
n.label.set_label(label)