Skip to content

CLN: replace %s syntax /w .format in plotting, stats, tseries #18010

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 1 commit into from
Nov 10, 2017
Merged

CLN: replace %s syntax /w .format in plotting, stats, tseries #18010

merged 1 commit into from
Nov 10, 2017

Conversation

corazzon
Copy link
Contributor

Progress towards #16130

  • passes git diff upstream/master -u -- "*.py" | flake8 --diff

@codecov
Copy link

codecov bot commented Oct 28, 2017

Codecov Report

Merging #18010 into master will decrease coverage by 0.01%.
The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #18010      +/-   ##
==========================================
- Coverage   91.24%   91.22%   -0.02%     
==========================================
  Files         163      163              
  Lines       50168    50168              
==========================================
- Hits        45777    45768       -9     
- Misses       4391     4400       +9
Flag Coverage Δ
#multiple 89.04% <33.33%> (ø) ⬆️
#single 40.27% <8.33%> (-0.06%) ⬇️
Impacted Files Coverage Δ
pandas/plotting/_tools.py 72.92% <0%> (ø) ⬆️
pandas/plotting/_style.py 74.28% <0%> (ø) ⬆️
pandas/plotting/_converter.py 63.38% <0%> (ø) ⬆️
pandas/plotting/_misc.py 38.98% <0%> (ø) ⬆️
pandas/tseries/offsets.py 97.16% <100%> (ø) ⬆️
pandas/stats/moments.py 71.19% <100%> (ø) ⬆️
pandas/plotting/_core.py 82.45% <50%> (ø) ⬆️
pandas/io/gbq.py 25% <0%> (-58.34%) ⬇️
pandas/core/frame.py 97.75% <0%> (-0.1%) ⬇️
pandas/io/msgpack/_version.py 44.65% <0%> (ø) ⬆️

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 4489389...9d4e286. Read the comment docs.

@codecov
Copy link

codecov bot commented Oct 28, 2017

Codecov Report

Merging #18010 into master will decrease coverage by 2.18%.
The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #18010      +/-   ##
==========================================
- Coverage    91.4%   89.21%   -2.19%     
==========================================
  Files         163      163              
  Lines       50064    50064              
==========================================
- Hits        45759    44665    -1094     
- Misses       4305     5399    +1094
Flag Coverage Δ
#multiple 89.21% <33.33%> (+0.02%) ⬆️
#single ?
Impacted Files Coverage Δ
pandas/plotting/_misc.py 38.98% <0%> (ø) ⬆️
pandas/plotting/_tools.py 72.92% <0%> (ø) ⬆️
pandas/plotting/_converter.py 65.2% <0%> (+1.81%) ⬆️
pandas/plotting/_style.py 74.28% <0%> (ø) ⬆️
pandas/stats/moments.py 71.19% <100%> (ø) ⬆️
pandas/tseries/offsets.py 97.11% <100%> (ø) ⬆️
pandas/plotting/_core.py 82.45% <50%> (ø) ⬆️
pandas/io/gbq.py 25% <0%> (-58.34%) ⬇️
pandas/io/sql.py 46.59% <0%> (-48.22%) ⬇️
pandas/core/computation/pytables.py 62.5% <0%> (-29.88%) ⬇️
... and 11 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 ca737ac...f6dbb37. Read the comment docs.

print(e)
return None
else:
if verbose:
print("unable to find command, tried %s" % (commands,))
print("unable to find command, tried {commands}".format(
commands=commands,))
return None
stdout = p.communicate()[0].strip()
if sys.version_info[0] >= 3:
stdout = stdout.decode()
if p.returncode != 0:
if verbose:
Copy link
Contributor

Choose a reason for hiding this comment

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

revert this file it is auto generated

Copy link
Contributor

Choose a reason for hiding this comment

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

rather versioneer creates it; would rather use a newer versioneer

@jreback jreback added the Code Style Code style, linting, code_checks label Oct 28, 2017
@jreback
Copy link
Contributor

jreback commented Nov 8, 2017

can u rebase

@@ -265,6 +265,22 @@ def _params(self):
params = tuple([str(self.__class__)] + attrs)
return params

def __repr__(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

remove this; its a rebase artifact

@corazzon corazzon changed the title CLN: replace %s syntax /w .format in _version, plotting, stats, tseries CLN: replace %s syntax /w .format in plotting, stats, tseries Nov 10, 2017
@jreback jreback added this to the 0.22.0 milestone Nov 10, 2017
@jreback jreback merged commit d8129b4 into pandas-dev:master Nov 10, 2017
@jreback
Copy link
Contributor

jreback commented Nov 10, 2017

thanks!

1 similar comment
@corazzon
Copy link
Contributor Author

thanks!

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants