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

DOC: Fix validation error type RT01 and check in CI (#25356) #26234

Merged
merged 21 commits into from
May 8, 2019

Conversation

ihsansecer
Copy link
Contributor

@jreback jreback added the Code Style Code style, linting, code_checks label Apr 28, 2019
@codecov
Copy link

codecov bot commented Apr 28, 2019

Codecov Report

Merging #26234 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            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
Flag Coverage Δ
#multiple 90.52% <100%> (ø) ⬆️
#single 40.7% <100%> (-0.14%) ⬇️
Impacted Files Coverage Δ
pandas/core/indexes/multi.py 95.62% <ø> (ø) ⬆️
pandas/core/dtypes/dtypes.py 96.42% <ø> (ø) ⬆️
pandas/core/base.py 98.2% <ø> (ø) ⬆️
pandas/util/testing.py 90.61% <ø> (-0.11%) ⬇️
pandas/core/resample.py 97.22% <ø> (ø) ⬆️
pandas/plotting/_core.py 83.76% <ø> (ø) ⬆️
pandas/core/arrays/categorical.py 95.96% <ø> (ø) ⬆️
pandas/tseries/offsets.py 96.69% <ø> (ø) ⬆️
pandas/plotting/_misc.py 38.46% <ø> (ø) ⬆️
pandas/core/arrays/interval.py 93.06% <ø> (ø) ⬆️
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 48ea04f...5920ad2. Read the comment docs.

@codecov
Copy link

codecov bot commented Apr 28, 2019

Codecov Report

Merging #26234 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            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
Flag Coverage Δ
#multiple 90.59% <100%> (ø) ⬆️
#single 40.73% <100%> (-0.14%) ⬇️
Impacted Files Coverage Δ
pandas/core/indexes/multi.py 95.62% <ø> (ø) ⬆️
pandas/core/dtypes/dtypes.py 96.42% <ø> (ø) ⬆️
pandas/core/base.py 97.98% <ø> (ø) ⬆️
pandas/core/resample.py 97.22% <ø> (ø) ⬆️
pandas/plotting/_core.py 83.91% <ø> (ø) ⬆️
pandas/core/arrays/categorical.py 95.96% <ø> (ø) ⬆️
pandas/tseries/offsets.py 96.69% <ø> (ø) ⬆️
pandas/plotting/_misc.py 38.46% <ø> (ø) ⬆️
pandas/core/arrays/interval.py 93.06% <ø> (ø) ⬆️
pandas/core/groupby/generic.py 89.02% <ø> (ø) ⬆️
... and 15 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fe98ba8...331a5df. Read the comment docs.

pandas/core/base.py Outdated Show resolved Hide resolved
pandas/core/frame.py Outdated Show resolved Hide resolved
pandas/core/frame.py Show resolved Hide resolved
pandas/core/generic.py Outdated Show resolved Hide resolved
pandas/core/groupby/generic.py Outdated Show resolved Hide resolved
pandas/core/groupby/groupby.py Outdated Show resolved Hide resolved
pandas/tseries/offsets.py Outdated Show resolved Hide resolved
@WillAyd WillAyd added the Docs label Apr 29, 2019
@jreback jreback added this to the 0.25.0 milestone Apr 29, 2019
ihsansecer added a commit to ihsansecer/pandas that referenced this pull request Apr 29, 2019
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).
@ihsansecer ihsansecer changed the title Fix validation error type RT01 and check in CI DOC: Fix validation error type RT01 and check in CI (#25356) Apr 29, 2019
@WillAyd WillAyd mentioned this pull request Apr 30, 2019
4 tasks
Copy link
Member

@datapythonista datapythonista left a 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.

pandas/core/frame.py Outdated Show resolved Hide resolved
pandas/core/generic.py Outdated Show resolved Hide resolved
pandas/core/generic.py Show resolved Hide resolved
pandas/core/groupby/generic.py Outdated Show resolved Hide resolved
pandas/core/groupby/groupby.py Outdated Show resolved Hide resolved
pandas/core/indexes/base.py Outdated Show resolved Hide resolved
pandas/core/indexes/base.py Outdated Show resolved Hide resolved
Copy link
Member

@datapythonista datapythonista left a 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

@WillAyd
Copy link
Member

WillAyd commented May 7, 2019

Looks like some conflicts can you merge master and resolve?

Resolve conflicts with removed Panel references
@ihsansecer
Copy link
Contributor Author

@WillAyd resolved

@WillAyd WillAyd merged commit 7bd7fab into pandas-dev:master May 8, 2019
@WillAyd
Copy link
Member

WillAyd commented May 8, 2019

Thanks @ihsansecer - very nice!

@ihsansecer ihsansecer deleted the rt01-validation-error branch July 11, 2019 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Style Code style, linting, code_checks Docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix validation error type RT01 and check in CI
4 participants