mirror of
https://github.com/rr-/pq-cli.git
synced 2026-09-29 14:54:00 -06:00
ui: fix mypy warnings
This commit is contained in:
1 parent
4800557df8
commit
37a8ecc7da
5 files changed
+7
-7
No files matched your search
@@ -2,7 +2,7 @@ import urwid
|
||||
|
||||
|
||||
class ReadOnlyCheckBox(urwid.Text):
|
||||
def __init__(self, text, state: bool = False) -> None:
|
||||
def __init__(self, text: str, state: bool = False) -> None:
|
||||
self.icons = {
|
||||
key: widget.text for key, widget in urwid.CheckBox.states.items()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user