fix: add a type ignore to curses vline

The typeshed stubs do not have a correct definition (probably because
the python docs themselves do not have it)
This commit is contained in:
mathieui 2021-03-26 18:02:37 +01:00
parent f80e9d9dde
commit 50b8a7afe1

View file

@ -22,8 +22,10 @@ class VerticalSeparator(Win):
__slots__ = ()
def rewrite_line(self) -> None:
self._win.vline(0, 0, curses.ACS_VLINE, self.height,
to_curses_attr(get_theme().COLOR_VERTICAL_SEPARATOR))
self._win.vline(
0, 0, curses.ACS_VLINE, self.height,
to_curses_attr(get_theme().COLOR_VERTICAL_SEPARATOR)
) # type: ignore
self._refresh()
def refresh(self) -> None: