-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Update docstrings to numpydoc format #2237
Conversation
19fcad0
to
e44f00b
Compare
@dhomeier - could you rebase? Sorry for not reviewing this sonner! |
e44f00b
to
1f3fd29
Compare
Codecov Report
@@ Coverage Diff @@
## main #2237 +/- ##
=======================================
Coverage 88.07% 88.07%
=======================================
Files 247 247
Lines 23279 23279
=======================================
Hits 20502 20502
Misses 2777 2777
Continue to review full report at Codecov.
|
No problem! I did a cursory search for new function's docstrings added since, or any that I've missed before. |
Beats me why the contracted form works in some cases like |
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.
Looks good! However the docs failures are related to this PR, so could you investigate? (I think just some incorrect intersphinx references)
Can you point me to an example where they are failing? I think the last build here was https://readthedocs.org/projects/glueviz/builds/15921389/ |
@dhomeier - ah I meant the Azure build, e.g. the tox |
Yeah, sorry, just found it – I had missed that among the other pyside + pyqt51x failures! |
Not quite an intersphinx issue then – that reference was indeed broken, missing the full class path. Still a mystery to me why the plain |
aca54de
to
efe1580
Compare
@dhomeier - it looks like there might still be some issues as the Azure docs builds are still failing? |
Yes, I realised I need to |
Still a ton of warnings the likes of
As they are pretty much inherited from |
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.
Looks great, thanks! For the reference issues related to Qt I usually add exceptions in conf.py but you could always add that in a separate PR if you like
Thanks, yes, seems a |
Description
This is beginning to address #466; I have tried to clarify or extend the docs where they seemed ambiguous or incomplete, but someone more familiar with the functionality should review the added
Parameters
,Returns
etc. entries.Note that #2235 includes updates for
roi.py
since a lot of changes and extensions to the docstrings were already added there.