diff options
author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2013-07-08 08:27:20 +0200 |
---|---|---|
committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2013-07-08 08:27:20 +0200 |
commit | ea17d475f8176973238fd9df458a72c60949d113 (patch) | |
tree | 0f764f41f3cf7177edcb459c8a84a375c895f9f2 /checkers/variables.py | |
parent | a66cb39eb66e359e93f0d2ee2edf58bad72d8ca7 (diff) | |
download | pylint-ea17d475f8176973238fd9df458a72c60949d113.tar.gz |
[variables checker] drop check_messages that trigger false positive when other messages from this checker are disabled (eg running --errors-only)
Diffstat (limited to 'checkers/variables.py')
-rw-r--r-- | checkers/variables.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/checkers/variables.py b/checkers/variables.py index 3cd9cfc..07156d1 100644 --- a/checkers/variables.py +++ b/checkers/variables.py @@ -261,8 +261,6 @@ builtins. Remember that you should avoid to define new builtins when possible.' # do not check for not used locals here self._to_consume.pop() - - @check_messages('W0621', 'W0622') def visit_function(self, node): """visit function: update consumption analysis variable and check locals """ @@ -282,7 +280,6 @@ builtins. Remember that you should avoid to define new builtins when possible.' # do not print Redefining builtin for additional builtins self.add_message('W0622', args=name, node=stmt) - @check_messages('W0612', 'W0613') def leave_function(self, node): """leave function: check function's locals are consumed""" not_consumed = self._to_consume.pop()[0] |