-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Quality of docstr #156
Comments
@estahn after submitting an issue request here, I casually browsed through the rest of the issues reported, and I saw this one. I think you may want to check Hope this information is helpful or valuable for you! |
@ericmjl Thanks for the pointer but I must be missing something. def foobar(a: str) -> str:
"""
Foobar
"""
pass Returns $ pydoclint test.py --style=google
Loading config from user-specified .toml file: pyproject.toml
No config found in pyproject.toml.
Skipping files that match this pattern: \.git|\.tox
test.py
🎉 No violations 🎉 |
Belated response - my apologies! I like this idea, and I think it'd be a good enhancement. I also think @ericmjl has an interesting idea too, that we may be able to incorporate pydoclint (esp since it also parses the AST) or at least get some inspiration. I can't guarantee being able to add this anytime soon, so I'm inviting others to contribute to this idea. Anyone interested - please speak up and I'll assign the ticket to you. (And if/when I do start working on this before anyone else, I'll be sure to update this ticket to avoid any duplicate work). |
@estahn just stumbled on this :)
|
Describe the feature you'd like
Currently interrogate only checks if docstrings are present without putting any value on the quality, e.g.
I understand this would be a larger piece of work due to the different docstring styles that require parsing.
Is your feature request related to a problem?
Increase the quality of docstrings.
The text was updated successfully, but these errors were encountered: