Skip to content

Add some numpydoc validation checks #2316

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

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

dstansby
Copy link
Contributor

@dstansby dstansby commented Oct 9, 2024

I started reviewing one of the docstring pull requests, and found it quite tricky to review large PRs where the contents have to be consistent with function/class signatures.

This PR implements some numpydoc validation checks to give some more consistent validation fo docstrings. To keep this PR simple I've only included a few error codes and fixes, but I'm happy to roll this out to other error codes if folks are pro adding this validation.

@dstansby dstansby added documentation Improvements to the documentation V3 labels Oct 9, 2024
@jhamman jhamman merged commit 9bce890 into zarr-developers:v3 Oct 9, 2024
22 checks passed
@dstansby dstansby deleted the numpydoc-valid branch October 9, 2024 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants