chore: fix linting errors

This commit is contained in:
aclist committed 2026-01-24 13:33:15 +09:00
1 parent f05374bc7d
commit 2beea2af20
4 files changed
+5 -15

No files matched your search

+1 -10
View File
@@ -1,6 +1,6 @@
import logging
from typing import Callable, TYPE_CHECKING
from typing import TYPE_CHECKING
from dzgui.const.constants import SEPARATOR
from dzgui.util.keys import is_navkey
@@ -52,15 +52,6 @@ class TreeView(CursorMixin, Gtk.TreeView): # type: ignore
) -> None:
pass
# @deprecated("signals are localized now")
# def signal_emission(func: Callable) -> Callable:
# def wrapper(self, *args, **kwargs):
# self.controller.block_signals()
# func(self, *args, **kwargs)
# self.controller.unblock_signals()
#
# return wrapper
def _separate(self, model: Gtk.ListStore, iter_: Gtk.TreeIter) -> bool:
if model[iter_][0] == SEPARATOR:
return True