Skip to content

CLN: 29547 replace old string formatting 2 #31933

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

Conversation

3vts
Copy link
Contributor

@3vts 3vts commented Feb 12, 2020

I splitted PR #31844 in batches, this is the second
For this PR I ran the command grep -l -R -e '%s' -e '%d' -e '\.format(' --include=*.{py,pyx} pandas/ and checked all the files that were returned for .format( and changed the old string format for the corresponding fstrings to attempt a full clean of, #29547. I may have missed something so is a good idea to double check just in case

  • [ x ] tests added / passed
  • [ x ] passes black pandas
  • [ x ] passes git diff upstream/master -u -- "*.py" | flake8 --diff

@3vts 3vts changed the title CLN: 29547 replace old string formatting 1 CLN: 29547 replace old string formatting 2 Feb 12, 2020
@3vts 3vts marked this pull request as ready for review February 12, 2020 18:21
@3vts 3vts requested review from WillAyd and ShaharNaveh February 12, 2020 18:21
Copy link
Member

@ShaharNaveh ShaharNaveh left a comment

Choose a reason for hiding this comment

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

LGTM, when all comments are addressed.

@3vts 3vts requested a review from WillAyd February 12, 2020 20:21
@simonjayhawkins simonjayhawkins added Clean Code Style Code style, linting, code_checks labels Feb 12, 2020
@3vts 3vts requested a review from WillAyd February 13, 2020 00:36
@WillAyd WillAyd added this to the 1.1 milestone Feb 13, 2020
@WillAyd WillAyd merged commit 50dad9c into pandas-dev:master Feb 13, 2020
@WillAyd
Copy link
Member

WillAyd commented Feb 13, 2020

Great thanks @3vts

@3vts 3vts deleted the CLN-29547-Replace-old-string-formatting-2 branch February 21, 2020 01:30
roberthdevries pushed a commit to roberthdevries/pandas that referenced this pull request Mar 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Code Style Code style, linting, code_checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants