summaryrefslogtreecommitdiff
path: root/examples/custom.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2016-08-14 15:47:18 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2016-08-14 15:47:18 +0300
commite830dc2df2e5391eed9c31456a855777186d69ce (patch)
tree305c67c873cb6897d834248ada1e8a9a39a79361 /examples/custom.py
parentecf0281b37e90f450571456ff04473d9843f7c3a (diff)
downloadpylint-git-e830dc2df2e5391eed9c31456a855777186d69ce.tar.gz
Add a message in the example checker, since the message is needed.
Diffstat (limited to 'examples/custom.py')
-rw-r--r--examples/custom.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/custom.py b/examples/custom.py
index 2537bade7..2182b776e 100644
--- a/examples/custom.py
+++ b/examples/custom.py
@@ -11,7 +11,11 @@ class MyAstroidChecker(BaseChecker):
__implements__ = IAstroidChecker
name = 'custom'
- msgs = {}
+ msgs = {
+ 'W0001': ('Message that will be emitted',
+ 'message-symbol',
+ 'Message help')
+ }
options = ()
# this is important so that your checker is executed before others
priority = -1