From 26ac5a284ac3eefb61b931c222055e022ab50717 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman <rjeffman@redhat.com> Date: Wed, 29 Sep 2021 15:52:30 -0300 Subject: [PATCH] setup.py: Disable pylint rule import-error. When running pylint against 'setup.py' it warns that an import is not used. While it is not directly used, this is a fix for an issue with older versions of Python, so this change tells pylint to ignore the error. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 33111c93..0c0f777f 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import setuptools # setuptools if some other modules registered functions in `atexit`. # solution from: http://bugs.python.org/issue15881#msg170215 try: - import multiprocessing # noqa + import multiprocessing # noqa # pylint:disable=unused-import except ImportError: pass -- GitLab