diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2016-08-14 15:47:18 +0300 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2016-08-14 15:47:18 +0300 |
commit | e830dc2df2e5391eed9c31456a855777186d69ce (patch) | |
tree | 305c67c873cb6897d834248ada1e8a9a39a79361 /examples | |
parent | ecf0281b37e90f450571456ff04473d9843f7c3a (diff) | |
download | pylint-git-e830dc2df2e5391eed9c31456a855777186d69ce.tar.gz |
Add a message in the example checker, since the message is needed.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/custom.py | 6 |
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 |