False positive differing-param-doc
if positional-only
#6950
Labels
False Positive 🦟
A message is emitted but nothing is wrong with the code
Milestone
Bug description
I have a docparam for
bar
, but pylint complains.If I make
bar
not positional-only and remove, /
from function definition, pylint does not complain.I did a bit of digging myself and saw that
bar
was not included in thisarguments_node.args
, but it is included inarguments_node.arguments
. I am not familiar enough with these to say anything like "it should be.arguments
instead of.args
."Configuration
Command used
Pylint output
Expected behavior
expect no output, same as if remove
, /
Pylint version
OS / Environment
macOS 12.0.1 (21A559)
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: