diff options
Diffstat (limited to 'pylint/utils/utils.py')
-rw-r--r-- | pylint/utils/utils.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/pylint/utils/utils.py b/pylint/utils/utils.py index 81cbc3448..1faba9ae8 100644 --- a/pylint/utils/utils.py +++ b/pylint/utils/utils.py @@ -15,7 +15,7 @@ from os.path import basename, dirname, exists, isdir, join, normpath, splitext from astroid import Module, modutils -from pylint.constants import MSG_TYPES, MSG_TYPES_LONG, PY_EXTS +from pylint.constants import PY_EXTS def normalize_text(text, line_len=80, indent=""): @@ -44,13 +44,6 @@ def get_module_and_frameid(node): return module, ".".join(obj) -def category_id(cid): - cid = cid.upper() - if cid in MSG_TYPES: - return cid - return MSG_TYPES_LONG.get(cid) - - def get_rst_title(title, character): """Permit to get a title formatted as ReStructuredText test (underlined with a chosen character).""" return "%s\n%s\n" % (title, character * len(title)) |