diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-03-27 15:21:29 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-03-28 16:30:10 +0200 |
commit | 14f20e2d50b71d92893edda67c00054a840ee05f (patch) | |
tree | 35b161bc220c74578068f1392458bc4ef9c475f4 /pylint/constants.py | |
parent | d2db40c08433ca35dc9e5312e1d1b6404db65c33 (diff) | |
download | pylint-git-14f20e2d50b71d92893edda67c00054a840ee05f.tar.gz |
Import astroid with import x or from x import y but not both
Remove unused imports for astroid
Diffstat (limited to 'pylint/constants.py')
-rw-r--r-- | pylint/constants.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pylint/constants.py b/pylint/constants.py index 7181cb355..2124a2020 100644 --- a/pylint/constants.py +++ b/pylint/constants.py @@ -3,7 +3,7 @@ import sys -from astroid.__pkginfo__ import version as astroid_version +import astroid from pylint.__pkginfo__ import version as pylint_version @@ -46,5 +46,5 @@ class WarningScope: full_version = f"""pylint {pylint_version} -astroid {astroid_version} -Python { sys.version}""" +astroid {astroid.__version__} +Python {sys.version}""" |