-
Notifications
You must be signed in to change notification settings - Fork 441
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
Fix documentation build main #3799
Conversation
…ameters in DataObject copy_meta_from docstring
Renderers (and hence wraps in Plotter) class was missing a docstring (copy/paste from Renderer class)
Codecov Report
@@ Coverage Diff @@
## main #3799 +/- ##
==========================================
+ Coverage 94.15% 94.18% +0.02%
==========================================
Files 86 86
Lines 18891 18899 +8
==========================================
+ Hits 17787 17800 +13
+ Misses 1104 1099 -5 |
We should merge #3800, if it works, first. This will allow us to check that this PR indeed fixes the issue. |
@MatthewFlamm Thank you ! |
Co-authored-by: MatthewFlamm <39341281+MatthewFlamm@users.noreply.github.com>
I think the But unfortunately I was not able to find any error code associated with that http://www.pydocstyle.org/en/stable/error_codes.html 😢 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recommend merging to fix the build on main
.
We can figure out how to handle those warnings with pydicstyle later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I believe For numpydoc, we could try https://numpydoc.readthedocs.io/en/latest/validation.html#docstring-validation-using-python. Edit: Annoyingly, to use this, you have to specify every single function that you want to check. You cannot specify a package or module. Running More edits: It looks like the numpydoc validation originated from Pandas. Pandas maintains a script for scraping public api function docstrings here and then customizing numpydoc validation: https://github.com/pandas-dev/pandas/blob/main/scripts/validate_docstrings.py. Instead of re-implementing here, it would be preferable if again, Pandas merged the public api portion of the code into numpydoc. |
This is an (another and hopefully last) attempt to resolve #3782