Disable pylint on lines dedicated to mypy
Pylint doesn’t read the typeshed.
This commit is contained in:
parent
abe1941abf
commit
5928f02bfc
2 changed files with 2 additions and 2 deletions
|
@ -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__)
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue