diff options
author | Bruno Daniel <bruno.daniel@blue-yonder.com> | 2015-05-10 14:13:31 +0200 |
---|---|---|
committer | Bruno Daniel <bruno.daniel@blue-yonder.com> | 2015-05-10 14:13:31 +0200 |
commit | 0dd11d29995d044cde8402c5c8ec3659da262bea (patch) | |
tree | 12bed4156edf30717dcdbe52017c9f0b54a6a3a2 /pylint/extensions | |
parent | 04a91e2bf8ac01ffff76e68bbddeed027dbc3f43 (diff) | |
download | pylint-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.py | 3 |
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' |