diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-11-14 16:11:00 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-11-28 16:09:53 +0100 |
commit | b762f2d106338a4c58d4998c0623084883103d0d (patch) | |
tree | bbed2574ce1555b56d066fb4d06defc2fd80b42a | |
parent | c42c677b34fb1de65f55174fc43410d4a6acad50 (diff) | |
download | pylint-git-b762f2d106338a4c58d4998c0623084883103d0d.tar.gz |
Fix 'function could be static' in testutils.py
-rw-r--r-- | pylint/testutils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pylint/testutils.py b/pylint/testutils.py index d910e2a7c..f06ceefbe 100644 --- a/pylint/testutils.py +++ b/pylint/testutils.py @@ -196,7 +196,8 @@ class UnittestLinter: # Do not test col_offset for now since changing Message breaks everything self._messages.append(Message(msg_id, line, node, args, confidence)) - def is_message_enabled(self, *unused_args, **unused_kwargs): + @staticmethod + def is_message_enabled(*unused_args, **unused_kwargs): return True def add_stats(self, **kwargs): |