summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Drozd <nicholasdrozd@gmail.com>2019-12-23 12:51:36 -0600
committerClaudiu Popa <pcmanticore@gmail.com>2019-12-24 10:08:53 +0100
commit73f498606d8aa04588a0e5db9e389988ac71b56d (patch)
treeb6a4696664db3e9f2cdda5088f74390b0c99a0c3
parentbc4dd3db4065007fc3e1ca3fb64349a61f584005 (diff)
downloadastroid-git-73f498606d8aa04588a0e5db9e389988ac71b56d.tar.gz
Enable wrong-import-order, wrong-import-position checks
-rw-r--r--astroid/__init__.py1
-rw-r--r--pylintrc3
2 files changed, 1 insertions, 3 deletions
diff --git a/astroid/__init__.py b/astroid/__init__.py
index d36a5b45..9feac683 100644
--- a/astroid/__init__.py
+++ b/astroid/__init__.py
@@ -50,6 +50,7 @@ Del = _Context.Del
del _Context
+# pylint: disable=wrong-import-order,wrong-import-position
from .__pkginfo__ import version as __version__
# WARNING: internal imports order matters !
diff --git a/pylintrc b/pylintrc
index f86cbbe7..fc4394be 100644
--- a/pylintrc
+++ b/pylintrc
@@ -124,9 +124,6 @@ disable=fixme,invalid-name, missing-docstring, too-few-public-methods,
unused-argument,
# Not very useful when it warns about imports.
duplicate-code,
- # Don't care about these two too much
- wrong-import-order,
- wrong-import-position,
# We'll have to disable this until we drop support for Python 2
stop-iteration-return,
# black handles these