summaryrefslogtreecommitdiff
path: root/testutils.py
diff options
context:
space:
mode:
authorTorsten Marek <shlomme@gmail.com>2014-07-24 15:07:51 +0200
committerTorsten Marek <shlomme@gmail.com>2014-07-24 15:07:51 +0200
commit7aa57622583caab7dc14d0458bc3c4082036b766 (patch)
tree8235d02ff30784eb6656abedba5daa71fbd8fd22 /testutils.py
parenta7d1515daef1234b3bf3e3991299771bea3c56bc (diff)
downloadpylint-7aa57622583caab7dc14d0458bc3c4082036b766.tar.gz
Implement confidence levels.
- attach confidence levels to a number of messages - include confidence levels in the message object - if the confidence of a message is not HIGH or UNDEFINED, include it in the test output.
Diffstat (limited to 'testutils.py')
-rw-r--r--testutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testutils.py b/testutils.py
index e53ec70..86539ac 100644
--- a/testutils.py
+++ b/testutils.py
@@ -141,7 +141,7 @@ class UnittestLinter(object):
finally:
self._messages = []
- def add_message(self, msg_id, line=None, node=None, args=None):
+ def add_message(self, msg_id, line=None, node=None, args=None, confidence=None):
self._messages.append(Message(msg_id, line, node, args))
def is_message_enabled(self, *unused_args):