diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2021-10-17 10:40:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-17 10:40:51 +0200 |
commit | d3b27d8aeeb27441405d4183feb7b18a91925093 (patch) | |
tree | 56b4e256bc0f3acb8c5a8cfeae68166dfe1d1fe2 /pylintrc | |
parent | 97048ded8e7528e927f7f7818beb3d5d79662b03 (diff) | |
download | pylint-git-d3b27d8aeeb27441405d4183feb7b18a91925093.tar.gz |
Fix ``missing-function-docstring`` not checking ``__init__`` (#5147)
* Fix ``missing-function-docstring`` not checking ``__init__``
* Ignore ``object``
Diffstat (limited to 'pylintrc')
-rw-r--r-- | pylintrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -257,7 +257,7 @@ method-rgx=[a-z_][a-z0-9_]{2,}$ method-name-hint=[a-z_][a-z0-9_]{2,}$ # Regular expression which should only match function or class names that do -# not require a docstring. +# not require a docstring. Use ^(?!__init__$)_ to also check __init__. no-docstring-rgx=__.*__ # Minimum line length for functions/classes that require docstrings, shorter |