Skip to content
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

Updated docstrings using darglint #2827

Merged
merged 8 commits into from
May 25, 2022
Merged

Conversation

pseudo-rnd-thoughts
Copy link
Contributor

Following the docstring PRs # that added pydocstyle
This tool successfully helps ensure that all appropriate functions have docstrings
However, pydocstyle does not actual check the content of the functions are correct

In this PR, I have used darglint that does check the content against the docstring
We have used this to update all docstrings that are missing, in particular exceptions.
I noticed that due to using logging.warn that darglint misses and so functions are generally missing their warning section

@jkterry1 jkterry1 merged commit 273e3f2 into openai:master May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants