summaryrefslogtreecommitdiff
path: root/pylint/extensions
diff options
context:
space:
mode:
authorBruno Daniel <bruno.daniel@blue-yonder.com>2015-05-10 14:13:31 +0200
committerBruno Daniel <bruno.daniel@blue-yonder.com>2015-05-10 14:13:31 +0200
commit0dd11d29995d044cde8402c5c8ec3659da262bea (patch)
tree12bed4156edf30717dcdbe52017c9f0b54a6a3a2 /pylint/extensions
parent04a91e2bf8ac01ffff76e68bbddeed027dbc3f43 (diff)
downloadpylint-0dd11d29995d044cde8402c5c8ec3659da262bea.tar.gz
accept-no-param-doc turned into a yes/no option; documentation for this parameter
Diffstat (limited to 'pylint/extensions')
-rw-r--r--pylint/extensions/check_docs.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pylint/extensions/check_docs.py b/pylint/extensions/check_docs.py
index 6c29262..de8b8f4 100644
--- a/pylint/extensions/check_docs.py
+++ b/pylint/extensions/check_docs.py
@@ -55,8 +55,7 @@ class ParamDocChecker(BaseChecker):
}
options = (('accept-no-param-doc',
- {'default': True,
- 'type': 'bool',
+ {'default': True, 'type' : 'yn', 'metavar' : '<y or n>',
'help': 'Whether to accept totally missing parameter '
'documentation in a docstring of a function that has '
'parameters'