ui: fix mypy warnings

This commit is contained in:
rr-
2018-11-05 22:09:35 +01:00
parent 4800557df8
commit 37a8ecc7da
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import urwid
class CustomListWalker(urwid.SimpleFocusListWalker):
def append(self, item) -> None:
def append(self, item: T.Any) -> None:
super().append(item)
self.set_focus(len(self) - 1)