mirror of
https://github.com/aclist/dztui.git
synced 2026-11-07 18:40:46 +01:00
chore: clear typehinting errors
This commit is contained in:
1 parent
e64feac425
commit
25640751a5
23 files changed
+86
-105
No files matched your search
@@ -21,13 +21,13 @@ class CursorMixin:
|
||||
case Gdk.KEY_l | Gdk.KEY_Right:
|
||||
if event.state is Gdk.ModifierType.CONTROL_MASK:
|
||||
return
|
||||
self.emitter.emit("request_button_box_focus")
|
||||
self.emitter.emit("request_button_box_focus") # type: ignore
|
||||
case _:
|
||||
return False
|
||||
|
||||
def _move_cursor(self, position: CursorPosition) -> bool:
|
||||
cur_row = self.get_focused_row_index()
|
||||
model = self.get_model()
|
||||
cur_row = self.get_focused_row_index() # type: ignore
|
||||
model = self.get_model() # type: ignore
|
||||
if model:
|
||||
end = len(model) - 1
|
||||
else:
|
||||
@@ -55,5 +55,5 @@ class CursorMixin:
|
||||
dest = end
|
||||
|
||||
path = Gtk.TreePath.new_from_indices([dest])
|
||||
self.set_cursor(path)
|
||||
self.set_cursor(path) # type: ignore
|
||||
return True
|
||||
Reference in new issue
Block a user