-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
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
Incorrect parameter list in Python #148
Comments
neogen/lua/neogen/utilities/nodes.lua Lines 80 to 83 in d8c8145
It's my fault, as the documentation does not seem precise. To fix this specific bug, i instead used |
Oh I see, that makes more sense to have that as a separate argument. It's been such a breath of fresh air to use this repo, btw. Every other docstring generator project I've tried had lots of dependencies or hard to understand codebases. And Neogen re-uses snippet engines instead of rolling its own. Neogen is my favorite, by far. Thank you for making it! |
When you have a parameter that takes an identifier as a default value, the default value shows up as a parameter in the docstring, which it should not.
docstring_incorrect_parameters.mp4
I took a try at fixing this myself by changing
retrieve = "all"
toretrieve = "first"
and was surprised to find that didn't simply worklua/neogen/configurations/python.lua
This issue may require someone more familiar with the codebase to take a look :)
The text was updated successfully, but these errors were encountered: