Skip to content

CLN: Unreachable code, Boolean comparison, duplicate functions #21985

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 2 commits into from
Jul 20, 2018

Conversation

mroeschke
Copy link
Member

Breaking up #21974.

This batch is:

  • Unreachable code
  • Redefined function (in asv)
  • Boolean equality comparison

@jbrockmendel
Copy link
Member

LGTM.

@jorisvandenbossche IIRC you wanted to keep numpydoc changes separate from others?

if self['Signature']:
return ['``%s``' % self['Signature']] + ['']
else:
return ['']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yikes! That's pretty bad...

@jorisvandenbossche
Copy link
Member

IIRC you wanted to keep numpydoc changes separate from others?

Yes, numpydoc is vendored. So if we want to make changes to it, it should be done upstream.

@jreback
Copy link
Contributor

jreback commented Jul 20, 2018

lgtm. not sure by @jorisvandenbossche comments

ok to make the numpydoc change here and push upstream as well?

@jreback jreback added this to the 0.24.0 milestone Jul 20, 2018
@jorisvandenbossche
Copy link
Member

No, no reason to do it here. That only makes updating our version with upstream afterwards harder.

@jreback
Copy link
Contributor

jreback commented Jul 20, 2018

@mroeschke ok then if you'd pull the numpydoc changes out

@codecov
Copy link

codecov bot commented Jul 20, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@27ebb3e). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #21985   +/-   ##
=========================================
  Coverage          ?   91.97%           
=========================================
  Files             ?      166           
  Lines             ?    50328           
  Branches          ?        0           
=========================================
  Hits              ?    46287           
  Misses            ?     4041           
  Partials          ?        0
Flag Coverage Δ
#multiple 90.36% <ø> (?)
#single 42.23% <ø> (?)
Impacted Files Coverage Δ
pandas/core/indexes/period.py 93.39% <ø> (ø)

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 27ebb3e...1a5a486. Read the comment docs.

@jorisvandenbossche jorisvandenbossche merged commit f11738b into pandas-dev:master Jul 20, 2018
@jorisvandenbossche
Copy link
Member

Thanks!

@mroeschke mroeschke deleted the some_cleanup branch July 20, 2018 20:11
Sup3rGeo pushed a commit to Sup3rGeo/pandas that referenced this pull request Oct 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants