Skip to content

CLN: 29547 replace old string formatting 6 #31980

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

Conversation

3vts
Copy link
Contributor

@3vts 3vts commented Feb 14, 2020

I splitted PR #31844 in batches, this is the sixth
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 marked this pull request as ready for review February 14, 2020 17:55
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.

Minor nits, otherwise LGTM

Copy link
Member

@simonjayhawkins simonjayhawkins left a comment

Choose a reason for hiding this comment

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

thanks @3vts lgtm ex @MomIsBestFriend comments.

@simonjayhawkins simonjayhawkins added the Code Style Code style, linting, code_checks label Feb 14, 2020
@simonjayhawkins simonjayhawkins added this to the 1.1 milestone Feb 14, 2020
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

@simonjayhawkins simonjayhawkins merged commit 6d30046 into pandas-dev:master Feb 14, 2020
@simonjayhawkins
Copy link
Member

Thanks @3vts

@3vts 3vts deleted the CLN-29547-Replace-old-string-formatting-6 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
Code Style Code style, linting, code_checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants