mirror of
https://github.com/mborgerson/xemu.git
synced 2025-12-01 16:10:01 +00:00
python: add pylint import exceptions
Pylint 2.5.x - 2.7.x have regressions that make import checking inconsistent, see: https://github.com/PyCQA/pylint/issues/3609 https://github.com/PyCQA/pylint/issues/3624 https://github.com/PyCQA/pylint/issues/3651 Pinning to 2.4.4 is worse, because it mandates versions of shared dependencies that are too old for features we want in isort and mypy. Oh well. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Cleber Rosa <crosa@redhat.com> Message-id: 20210527211715.394144-16-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
@ -26,7 +26,7 @@ from typing import (
|
||||
TextIO,
|
||||
)
|
||||
|
||||
from qemu.qmp import SocketAddrT
|
||||
from qemu.qmp import SocketAddrT # pylint: disable=import-error
|
||||
|
||||
from .machine import QEMUMachine
|
||||
|
||||
|
||||
Reference in New Issue
Block a user