Skip to content

STY: Replace .format() to fstrings #30278

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
Dec 18, 2019
Merged

STY: Replace .format() to fstrings #30278

merged 1 commit into from
Dec 18, 2019

Conversation

EydenVillanueva
Copy link
Contributor

@EydenVillanueva EydenVillanueva commented Dec 14, 2019

  • closes #xxxx
  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

#29547

@simonjayhawkins
Copy link
Member

@EydenVillanueva Thanks for the PR. can you merge master to resolve the merge conflicts.

@simonjayhawkins simonjayhawkins added the Code Style Code style, linting, code_checks label Dec 15, 2019
@EydenVillanueva
Copy link
Contributor Author

@EydenVillanueva Thanks for the PR. can you merge master to resolve the merge conflicts.

Done 👍

f"cannot convert an object of type {type(data)} to a "
"datetimelike index"
"cannot convert an object of type {0} to a "
"datetimelike index".format(type(data))
Copy link
Member

Choose a reason for hiding this comment

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

@EydenVillanueva It looks like the merge undid some changes on master. can you merge again, see https://dev.pandas.io/docs/development/contributing.html#updating-your-pull-request

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.

@EydenVillanueva IIUC there should only be 3 or 4 files changed?

@EydenVillanueva
Copy link
Contributor Author

@EydenVillanueva IIUC there should only be 3 or 4 files changed?

Yes, you're right. It should be fine now.
I'll keep checking in case you find another problem

Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

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

lgtm merge if happy @simonjayhawkins

@WillAyd WillAyd added this to the 1.0 milestone Dec 17, 2019
@simonjayhawkins simonjayhawkins merged commit 85333a5 into pandas-dev:master Dec 18, 2019
@simonjayhawkins
Copy link
Member

Thanks @EydenVillanueva

proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
AlexKirko pushed a commit to AlexKirko/pandas that referenced this pull request Dec 29, 2019
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