summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2019-10-27 20:02:13 +0100
committermathieui <mathieui@mathieui.net>2019-10-27 20:02:13 +0100
commit5928f02bfc855fe3570e7916aa00a48cca9b6ef8 (patch)
tree654d2353758dac3a41224d8f8b522a7779f21cd5
parentabe1941abfd5d0be8517f1a1a8de8ccd2ad0766b (diff)
downloadpoezio-5928f02bfc855fe3570e7916aa00a48cca9b6ef8.tar.gz
poezio-5928f02bfc855fe3570e7916aa00a48cca9b6ef8.tar.bz2
poezio-5928f02bfc855fe3570e7916aa00a48cca9b6ef8.tar.xz
poezio-5928f02bfc855fe3570e7916aa00a48cca9b6ef8.zip
Disable pylint on lines dedicated to mypy
Pylint doesn’t read the typeshed.
-rw-r--r--poezio/tabs/basetabs.py2
-rw-r--r--poezio/windows/base_wins.py2
2 files changed, 2 insertions, 2 deletions
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: