Add a bunch of missing python docstrings.
This appeases pylint, so un-disable its docstring warning.
This commit is contained in:
parent
39e017869d
commit
29f939013e
23 changed files with 89 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ jobs=1
|
|||
|
||||
# We probably want to fix these eventually, but in the meantime, these
|
||||
# ones are relatively harmless.
|
||||
disable=multiple-imports,missing-docstring,locally-disabled,invalid-name,unused-argument,fixme,global-statement,redefined-variable-type,using-constant-test,unused-variable,file-ignored,simplifiable-if-statement
|
||||
disable=multiple-imports,locally-disabled,invalid-name,unused-argument,fixme,global-statement,redefined-variable-type,using-constant-test,unused-variable,file-ignored,simplifiable-if-statement
|
||||
|
||||
|
||||
[REPORTS]
|
||||
|
|
@ -159,7 +159,7 @@ method-name-hint=[a-z_][a-z0-9_]{2,30}$
|
|||
|
||||
# Regular expression which should only match function or class names that do
|
||||
# not require a docstring.
|
||||
no-docstring-rgx=^_
|
||||
no-docstring-rgx=^_|^main$
|
||||
|
||||
# Minimum line length for functions/classes that require docstrings, shorter
|
||||
# ones are exempt.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue