Skip to content

Conversation

@gfyoung
Copy link
Member

@gfyoung gfyoung commented Apr 3, 2017

Another round of house-cleaning that builds off #15867. Likely to be the last one for now.

@gfyoung gfyoung force-pushed the flake8-noqa-clean branch from 988cf7e to 3e610f5 Compare April 3, 2017 08:03
@codecov
Copy link

codecov bot commented Apr 3, 2017

Codecov Report

Merging #15872 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@ Coverage Diff @@ ## master #15872 +/- ## ========================================== - Coverage 90.99% 90.97% -0.02%  ========================================== Files 143 143 Lines 49479 49477 -2 ========================================== - Hits 45021 45010 -11  - Misses 4458 4467 +9
Flag Coverage Δ
#multiple 88.73% <100%> (-0.01%) ⬇️
#single 40.63% <66.66%> (-0.12%) ⬇️
Impacted Files Coverage Δ
pandas/util/clipboard/windows.py 11.62% <ø> (-1.02%) ⬇️
pandas/compat/pickle_compat.py 69.51% <100%> (+1.21%) ⬆️
pandas/util/clipboard/clipboards.py 26.58% <100%> (ø) ⬆️
pandas/util/clipboard/__init__.py 73.8% <100%> (ø) ⬆️
pandas/computation/engines.py 88.88% <100%> (-0.18%) ⬇️
pandas/io/gbq.py 25% <0%> (-58.34%) ⬇️
pandas/core/common.py 90.96% <0%> (-0.34%) ⬇️
pandas/core/frame.py 97.56% <0%> (-0.1%) ⬇️

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 cd24fa9...3e610f5. Read the comment docs.

@jreback jreback added the Code Style Code style, linting, code_checks label Apr 3, 2017
@jreback jreback added this to the 0.20.0 milestone Apr 3, 2017
print(func, args)
raise

stack[-1] = value
Copy link
Contributor

Choose a reason for hiding this comment

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

? was this just a copy-paste error?

Copy link
Member Author

@gfyoung gfyoung Apr 3, 2017

Choose a reason for hiding this comment

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

Honestly, I have no idea. You should ask yourself that 😄 (your name shows up when I look at the blame for this file)

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah, what IS puzzling is that it still works! ok thanks!

Copy link
Member Author

Choose a reason for hiding this comment

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

Because Python isn't an interpreted language 😄 (that line of code is unreachable, so we can never get an error there)?

Copy link
Contributor

Choose a reason for hiding this comment

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

 def load_reduce(self): stack = self.stack args = stack.pop() func = stack[-1] stack[-1] = func(*args) 

was the original code

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, I see. Are my changes fine as is still?

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah, had a bunch of error conditions. That statement was dead code :>

@jreback
Copy link
Contributor

jreback commented Apr 3, 2017

thanks!

@jreback jreback closed this in ed07df1 Apr 3, 2017
@gfyoung gfyoung deleted the flake8-noqa-clean branch April 3, 2017 16:36
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

2 participants