diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2019-03-10 22:10:12 +0100 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-03-29 09:37:05 +0100 |
commit | 1dbbb35d93c19104b477c200afd3be756132a255 (patch) | |
tree | 95509d1467679d77f16d2b1acca20be2e0cd2315 /pylint/utils/utils.py | |
parent | a2801fd820a7adc3c67afd21767ae2b022296cb5 (diff) | |
download | pylint-git-1dbbb35d93c19104b477c200afd3be756132a255.tar.gz |
Refactor - Avoid intra-packages circular dependencies for constants
Some constants were package internal but were used by multiple
packages. This created circular dependencies. By creating a
file for constants we make sure this does not happen because
we won't import everything important in this file and every
thing else can depend on it.
Diffstat (limited to 'pylint/utils/utils.py')
-rw-r--r-- | pylint/utils/utils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pylint/utils/utils.py b/pylint/utils/utils.py index 3147ac847..d265e2c20 100644 --- a/pylint/utils/utils.py +++ b/pylint/utils/utils.py @@ -14,8 +14,7 @@ from os.path import basename, dirname, exists, isdir, join, normpath, splitext from astroid import Module, modutils -from pylint.message.constants import MSG_TYPES, MSG_TYPES_LONG -from pylint.utils.constants import PY_EXTS +from pylint.constants import MSG_TYPES, MSG_TYPES_LONG, PY_EXTS from pylint.utils.normalize_text import normalize_text |