Skip to content
Snippets Groups Projects
Commit 26ac5a28 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

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.
parent 926297f8
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ import setuptools ...@@ -4,7 +4,7 @@ import setuptools
# setuptools if some other modules registered functions in `atexit`. # setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215 # solution from: http://bugs.python.org/issue15881#msg170215
try: try:
import multiprocessing # noqa import multiprocessing # noqa # pylint:disable=unused-import
except ImportError: except ImportError:
pass pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment