diff options
author | Glenn Matthews <glenn@e-dad.net> | 2016-07-18 15:56:04 -0400 |
---|---|---|
committer | Glenn Matthews <glenn@e-dad.net> | 2016-07-19 13:56:06 -0400 |
commit | 0495355af9b2958e2ecd23311a697a8a7a7cc887 (patch) | |
tree | 7918c02da8ba7547d14cb1a41f54b3864cc89b18 /pylint/utils.py | |
parent | 47577a4a396a148b92e656110c2bdb18632d44a9 (diff) | |
download | pylint-git-0495355af9b2958e2ecd23311a697a8a7a7cc887.tar.gz |
Move EmptyReport and UnknownMessage to pylint.exceptions
Diffstat (limited to 'pylint/utils.py')
-rw-r--r-- | pylint/utils.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/pylint/utils.py b/pylint/utils.py index 14c464af9..24170ec8a 100644 --- a/pylint/utils.py +++ b/pylint/utils.py @@ -26,14 +26,7 @@ from astroid import modutils from pylint.interfaces import IRawChecker, ITokenChecker, UNDEFINED, implements from pylint.reporters.ureports.nodes import Section -from pylint.exceptions import InvalidMessageError - - -class UnknownMessage(Exception): - """raised when a unregistered message id is encountered""" - -class EmptyReport(Exception): - """raised when a report is empty and so should not be displayed""" +from pylint.exceptions import InvalidMessageError, UnknownMessage, EmptyReport MSG_TYPES = { |