diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-03-06 18:22:49 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-03-06 18:22:49 +0200 |
commit | 1cd7a64ba8921b3650f91e76eeaaf8528b69ff70 (patch) | |
tree | 02cbb235af9dedf76e0e60772dbaac70c690fbc3 /pylint/utils.py | |
parent | 67a7a7cb2ec9c2682f63864fab15bb45d0a167d1 (diff) | |
parent | a79bec387412da77ab024b35ef1d8579e92d4fff (diff) | |
download | pylint-1cd7a64ba8921b3650f91e76eeaaf8528b69ff70.tar.gz |
Merged in mibalint/pylint (pull request #234)
#422 [pylint sprint] Create pylintrc and disable checking for all issues
Diffstat (limited to 'pylint/utils.py')
-rw-r--r-- | pylint/utils.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pylint/utils.py b/pylint/utils.py index 6685c4a..6c5b975 100644 --- a/pylint/utils.py +++ b/pylint/utils.py @@ -225,6 +225,11 @@ class MessagesHandlerMixIn(object): self._msgs_state = {} self.msg_status = 0 + def _checker_messages(self, checker): + for checker in self._checkers[checker.lower()]: + for msgid in checker.msgs: + yield msgid + def disable(self, msgid, scope='package', line=None, ignore_unknown=False): """don't output message of the given id""" assert scope in ('package', 'module') |