We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I met an issue with the following code:
def function(file, *args, sep=";"): """Description of the function Parameters ---------- file : str Path to the input. *args Relevant parameters. sep : str, optional File separator. """
Return this warning: W9015: "args" missing in parameter documentation (missing-param-doc)
No warning must be returned as there is a documentation concerning *args
pylint 2.5.3 astroid 2.4.2 Python 3.7.2 (default, Feb 25 2019, 14:07:05) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]
The text was updated successfully, but these errors were encountered:
@DanielNoord Would you like to take a look at this? I'm unable to reproduce it with main.
main
Sorry, something went wrong.
I'm able to reproduce this.
Adding pylint.extensions.docparams to load-plugins and no-docstring-rgx=__.*__ makes this warning emit for me.
pylint.extensions.docparams
load-plugins
no-docstring-rgx=__.*__
I have a feeling it might be because of the * because the message reports it is missing for args instead of *args. I will take a look!
*
args
*args
Fix asterisks parsing of mising-param-doc
mising-param-doc
cfe5dca
Closes pylint-dev#3733
Thanks @DanielNoord
Fix asterisks parsing of mising-param-doc (#5175)
cd5838c
Closes #3733
anomalous-backslash-in-string
DanielNoord
Successfully merging a pull request may close this issue.
Hi, I met an issue with the following code:
Current behavior
Return this warning: W9015: "args" missing in parameter documentation (missing-param-doc)
Expected behavior
No warning must be returned as there is a documentation concerning *args
pylint --version output
pylint 2.5.3
astroid 2.4.2
Python 3.7.2 (default, Feb 25 2019, 14:07:05)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]
The text was updated successfully, but these errors were encountered: