From 50b8a7afe1b6aaa882b9175b9b31444ed3c8da10 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 26 Mar 2021 18:02:37 +0100 Subject: 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) --- poezio/windows/misc.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/poezio/windows/misc.py b/poezio/windows/misc.py index 8739db0c..a621b61d 100644 --- a/poezio/windows/misc.py +++ b/poezio/windows/misc.py @@ -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: -- cgit v1.2.3