From 5928f02bfc855fe3570e7916aa00a48cca9b6ef8 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 27 Oct 2019 20:02:13 +0100 Subject: Disable pylint on lines dedicated to mypy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pylint doesn’t read the typeshed. --- poezio/tabs/basetabs.py | 2 +- poezio/windows/base_wins.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'poezio') diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py index 2efc77a0..4b8a261f 100644 --- a/poezio/tabs/basetabs.py +++ b/poezio/tabs/basetabs.py @@ -44,7 +44,7 @@ from poezio.windows.funcs import truncate_nick from slixmpp import JID, InvalidJID, Message if TYPE_CHECKING: - from _curses import _CursesWindow + from _curses import _CursesWindow # pylint: disable=E0611 log = logging.getLogger(__name__) diff --git a/poezio/windows/base_wins.py b/poezio/windows/base_wins.py index 361ae338..ac6b4804 100644 --- a/poezio/windows/base_wins.py +++ b/poezio/windows/base_wins.py @@ -26,7 +26,7 @@ FORMAT_CHAR = '\x19' format_chars = '\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x1A' if TYPE_CHECKING: - from _curses import _CursesWindow + from _curses import _CursesWindow # pylint: disable=E0611 class DummyWin: -- cgit v1.2.3