summaryrefslogtreecommitdiff
path: root/pylint/utils/__init__.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2019-03-08 19:49:30 +0100
committerClaudiu Popa <pcmanticore@gmail.com>2019-03-09 11:09:29 +0100
commit2b5074986763d9a508a2dc38c99ba839612dc672 (patch)
tree56edfa83a3d3bc113e08a9e3f2dad274460a730d /pylint/utils/__init__.py
parentb1780d1a4f88d4a94c162780ef346ad66b44b172 (diff)
downloadpylint-git-2b5074986763d9a508a2dc38c99ba839612dc672.tar.gz
Refactor - Create a pylint.message package
There is a lot of Message related class in Utils this warrant the creation of a new package. See also review for burst utils.py into a package here: https://github.com/PyCQA/pylint/pull/2654#issuecomment-470748956
Diffstat (limited to 'pylint/utils/__init__.py')
-rw-r--r--pylint/utils/__init__.py16
1 files changed, 1 insertions, 15 deletions
diff --git a/pylint/utils/__init__.py b/pylint/utils/__init__.py
index d8cfa9d13..0a4f6fd3c 100644
--- a/pylint/utils/__init__.py
+++ b/pylint/utils/__init__.py
@@ -41,21 +41,8 @@
main pylint class
"""
-from pylint.utils.constants import (
- MSG_STATE_CONFIDENCE,
- MSG_STATE_SCOPE_CONFIG,
- MSG_STATE_SCOPE_MODULE,
- MSG_TYPES,
- MSG_TYPES_LONG,
- MSG_TYPES_STATUS,
- OPTION_RGX,
- PY_EXTS,
-)
+from pylint.utils.constants import OPTION_RGX, PY_EXTS
from pylint.utils.file_state import FileState
-from pylint.utils.message import Message
-from pylint.utils.message_definition import MessageDefinition
-from pylint.utils.message_handler_mix_in import MessagesHandlerMixIn
-from pylint.utils.message_store import MessagesStore
from pylint.utils.normalize_text import normalize_text
from pylint.utils.pylint_ast_walker import PyLintASTWalker
from pylint.utils.reports_handler_mix_in import ReportsHandlerMixIn
@@ -65,7 +52,6 @@ from pylint.utils.utils import (
_format_option_value,
_splitstrip,
_unquote,
- build_message_def,
category_id,
decoding_stream,
deprecated_option,