-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
DOC: Fix validation error type RT01
and check in CI (#25356)
#26234
Conversation
Except errors in accessor.py, op.py and some errors in resample.py, frame.py
Codecov Report
@@ Coverage Diff @@
## master #26234 +/- ##
==========================================
- Coverage 91.98% 91.97% -0.01%
==========================================
Files 175 175
Lines 52372 52373 +1
==========================================
- Hits 48172 48168 -4
- Misses 4200 4205 +5
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #26234 +/- ##
==========================================
- Coverage 92.04% 92.03% -0.01%
==========================================
Files 175 175
Lines 52302 52302
==========================================
- Hits 48142 48137 -5
- Misses 4160 4165 +5
Continue to review full report at Codecov.
|
These functions return a function either with empty return statement or doesn’t return. It causes docstring validation error with type RT01 (See pandas-dev#26234).
RT01
and check in CIRT01
and check in CI (#25356)
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.
Good stuff, thanks for the work on this.
Added couple of comments, but looks good.
Co-Authored-By: ihsansecer <abdullahsecer@std.sehir.edu.tr>
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, thank @ihsansecer
@WillAyd merge when happy
Looks like some conflicts can you merge master and resolve? |
Resolve conflicts with removed Panel references
@WillAyd resolved |
Thanks @ihsansecer - very nice! |
RT01
and check in CI #25356./scripts/validate_docstrings.py --errors=RT01
git diff upstream/master -u -- "*.py" | flake8 --diff