diff options
| author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2013-06-19 15:16:50 +0200 | 
|---|---|---|
| committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2013-06-19 15:16:50 +0200 | 
| commit | a573441c7ce6ce05c44b6daaa1e7e11828b62530 (patch) | |
| tree | 6343cf0fe778f524dc46699bc69c015607f73c48 /utils.py | |
| parent | 2d59b043df1ed204a33ed567cfb9bffb563a4f71 (diff) | |
| download | pylint-git-a573441c7ce6ce05c44b6daaa1e7e11828b62530.tar.gz | |
move EmptyReport exception to pylint.utils and refactor imports so pylint.utils stop importing checkers/reporters
Diffstat (limited to 'utils.py')
| -rw-r--r-- | utils.py | 4 | 
1 files changed, 3 insertions, 1 deletions
| @@ -32,13 +32,15 @@ from logilab.common.ureports import Section  from astroid import nodes, Module -from pylint.checkers import EmptyReport  from pylint.interfaces import IRawChecker, ITokenChecker  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""" +  MSG_TYPES = {      'I' : 'info', | 
