Sylvain Thénault  committed a206009

[variables checker] drop check_messages that trigger false positive when other messages from this checker are disabled (eg running --errors-only)

  • Participants
  • Parent commits 8c0cdba
  • Branches default

Comments (0)

Files changed (1)

File checkers/

         # do not check for not used locals here
-    @check_messages('W0621', 'W0622')
     def visit_function(self, node):
         """visit function: update consumption analysis variable and check locals
                 # 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]