diff --git a/pylint_protobuf/__init__.py b/pylint_protobuf/__init__.py index e9990d6..b149941 100644 --- a/pylint_protobuf/__init__.py +++ b/pylint_protobuf/__init__.py @@ -505,6 +505,7 @@ def _check_extension_getitem(self, node): def _disable(self, msgid, line, scope='module'): try: + self.linter.disable("useless-suppression", scope=scope, line=line) self.linter.disable(msgid, scope=scope, line=line) except AttributeError: pass # might be UnittestLinter