summaryrefslogtreecommitdiff
path: root/checkers/exceptions.py
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2014-04-14 12:59:18 +0200
committerSylvain Thénault <sylvain.thenault@logilab.fr>2014-04-14 12:59:18 +0200
commit14232ee29471bcc38c736eaf374eda73c018c596 (patch)
tree590d129d5a37ae5b9c95025742cdeffbaa6d8777 /checkers/exceptions.py
parent3218c9737eacf469ffd49cb7498984c2f8d40a33 (diff)
downloadpylint-git-14232ee29471bcc38c736eaf374eda73c018c596.tar.gz
update test_func exhaustivity testing
* skip messages that can not be emitted * use set instead of list * properly mark max version to some messages and drop now (almost) useless messages list
Diffstat (limited to 'checkers/exceptions.py')
-rw-r--r--checkers/exceptions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/checkers/exceptions.py b/checkers/exceptions.py
index e3ecff91d..64aca5b53 100644
--- a/checkers/exceptions.py
+++ b/checkers/exceptions.py
@@ -94,7 +94,8 @@ MSGS = {
'W0710': ('Exception doesn\'t inherit from standard "Exception" class',
'nonstandard-exception',
'Used when a custom exception class is raised but doesn\'t \
- inherit from the builtin "Exception" class.'),
+ inherit from the builtin "Exception" class.',
+ {'maxversion': (3, 0)}),
'W0711': ('Exception to catch is the result of a binary "%s" operation',
'binary-op-exception',
'Used when the exception to catch is of the form \