Skip to content

Commit

Permalink
Merge pull request #969 from glennmatthews/check_docs-doc_fix
Browse files Browse the repository at this point in the history
Fixed check_docs doc error (#735)
  • Loading branch information
PCManticore committed Jul 1, 2016
2 parents 5d40a07 + ba42389 commit cf25ba4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,5 @@ Order doesn't matter (not that much, at least ;)
* Luis Escobar (Vauxoo), Moisés López (Vauxoo): Add bad-docstring-quotes and docstring-first-line-empty

* Yannick Brehon: contributor.

* Glenn Matthews: bug reports, occasional bug fixes
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ ChangeLog for Pylint
emitted when item deletion is tried on an object which doesn't
have this ability. Closes issue #592.

* Fixed a documentation error for the check_docs extension. Fixes #735.

2016-03-21 -- 1.5.5

* Let visit_importfrom from Python 3 porting checker be called when everything is disabled
Expand Down
15 changes: 13 additions & 2 deletions doc/extensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,16 @@ Naming inconsistencies in existing parameter and their type documentations are
still detected.

By default, omitting the parameter documentation of a function altogether is
tolerated without any warnings. If you want to switch off this behavior,
set the option ``accept-no-param-doc`` to ``yes`` in your ``.pylintrc``.
tolerated without any warnings. If you want to switch off this behavior
(forcing functions to document their parameters), set the option
``accept-no-param-doc`` to ``no`` in your ``.pylintrc``.

By default, omitting the exception raising documentation of a function
altogether is tolerated without any warnings. If you want to switch off this
behavior (forcing functions that raise exceptions to document them), set the
option ``accept-no-raise-doc`` to ``no`` in your ``.pylintrc``.

By default, omitting the return documentation of a function altogether is
tolerated without any warnings. If you want to switch off this behavior
(forcing functions to document their returns), set the option
``accept-no-return-doc`` to ``no`` in your ``.pylintrc``.

0 comments on commit cf25ba4

Please sign in to comment.