diff options
author | Enji Cooper <yaneurabeya@gmail.com> | 2019-11-14 13:32:44 -0800 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-11-16 21:21:15 +0100 |
commit | 657fa7638b2884c622e61f3b06f8dba972550fb2 (patch) | |
tree | d4a7eefd26fef315cc0d823f4614c7f639cf68f5 /setup.py | |
parent | ff9424fb26c90b03ec5f6e44568833ada5dd236e (diff) | |
download | astroid-git-657fa7638b2884c622e61f3b06f8dba972550fb2.tar.gz |
Fix fixable pylint warnings
* Sort imports.
* Remove squelching of W0704, since recent versions of pylint do not support
the warning, resulting in an error with `pylint -E`.
* Add `pylint: disable=unused-import` to seemingly unused imports which
actually affect build behavior.
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -9,13 +9,12 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/COPYING.LESSER -# pylint: disable=W0404,W0622,W0704,W0613 +# pylint: disable=W0404,W0622,W0613 """Setup script for astroid.""" import os -from setuptools import setup, find_packages -from setuptools.command import easy_install -from setuptools.command import install_lib - +from setuptools import find_packages, setup +from setuptools.command import easy_install # pylint: disable=unused-import +from setuptools.command import install_lib # pylint: disable=unused-import real_path = os.path.realpath(__file__) astroid_dir = os.path.dirname(real_path) |