[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 06/15] python: add pylint exceptions to __init__.py
From: |
John Snow |
Subject: |
[PATCH v2 06/15] python: add pylint exceptions to __init__.py |
Date: |
Wed, 14 Oct 2020 10:29:48 -0400 |
Pylint 2.5.x and 2.6.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
Signed-off-by: John Snow <jsnow@redhat.com>
---
python/qemu/core/__init__.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/python/qemu/core/__init__.py b/python/qemu/core/__init__.py
index bf23ccd839..804a414dfb 100644
--- a/python/qemu/core/__init__.py
+++ b/python/qemu/core/__init__.py
@@ -27,6 +27,9 @@
# the COPYING file in the top-level directory.
#
+# pylint: disable=import-error
+# see: https://github.com/PyCQA/pylint/issues/3624
+# see: https://github.com/PyCQA/pylint/issues/3651
from .accel import kvm_available, list_accel, tcg_available
from .machine import QEMUMachine
from .qmp import QEMUMonitorProtocol
--
2.26.2
- [PATCH v2 00/15] python: create installable package, John Snow, 2020/10/14
- [PATCH v2 01/15] python: create qemu.core package, John Snow, 2020/10/14
- [PATCH v2 02/15] python: add qemu package installer, John Snow, 2020/10/14
- [PATCH v2 03/15] python: add VERSION file, John Snow, 2020/10/14
- [PATCH v2 04/15] python: add directory structure README.rst files, John Snow, 2020/10/14
- [PATCH v2 06/15] python: add pylint exceptions to __init__.py,
John Snow <=
- [PATCH v2 07/15] python: move pylintrc into setup.cfg, John Snow, 2020/10/14
- [PATCH v2 05/15] python: Add pipenv support, John Snow, 2020/10/14
- [PATCH v2 08/15] python: add pylint to pipenv, John Snow, 2020/10/14
- [PATCH v2 09/15] python: move flake8 config to setup.cfg, John Snow, 2020/10/14
- [PATCH v2 10/15] python: Add flake8 to pipenv, John Snow, 2020/10/14
- [PATCH v2 12/15] python: add mypy to pipenv, John Snow, 2020/10/14
- [PATCH v2 13/15] python: move .isort.cfg into setup.cfg, John Snow, 2020/10/14
- [PATCH v2 11/15] python: move mypy.ini into setup.cfg, John Snow, 2020/10/14
- [PATCH v2 14/15] python/qemu: add isort to pipenv, John Snow, 2020/10/14