python: add pylint import exceptions
commitd1e0476958cd275419754b8acf31a9f1dc62d3dd
authorJohn Snow <jsnow@redhat.com>
Thu, 27 May 2021 21:16:59 +0000 (27 17:16 -0400)
committerJohn Snow <jsnow@redhat.com>
Tue, 1 Jun 2021 20:21:21 +0000 (1 16:21 -0400)
treeaffbefe0e3dc2213c04403bf33dbdac065b76224
parent41c1d81cf2a9bfdb310576a716f3777e8feb1822
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>
python/qemu/machine/__init__.py
python/qemu/machine/machine.py
python/qemu/machine/qtest.py