diff options
author | Nick Drozd <nicholasdrozd@gmail.com> | 2019-12-23 12:51:36 -0600 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-12-24 10:08:53 +0100 |
commit | 73f498606d8aa04588a0e5db9e389988ac71b56d (patch) | |
tree | b6a4696664db3e9f2cdda5088f74390b0c99a0c3 | |
parent | bc4dd3db4065007fc3e1ca3fb64349a61f584005 (diff) | |
download | astroid-git-73f498606d8aa04588a0e5db9e389988ac71b56d.tar.gz |
Enable wrong-import-order, wrong-import-position checks
-rw-r--r-- | astroid/__init__.py | 1 | ||||
-rw-r--r-- | pylintrc | 3 |
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 ! @@ -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 |