-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CLN: f-string formatting #31868
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
CLN: f-string formatting #31868
Conversation
Hello @monicaw218! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2020-02-11 04:36:39 UTC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very minor comment otherwise lgtm
type(index).__name__.rstrip("Index") | ||
) | ||
msg = f"Cannot cast {type(index).__name__.rstrip('Index')}.*? to " | ||
# strip Index to convert PeriodIndex -> Period |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess should move this comment before 1350 so it reads sequentially
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I was wondering about this, too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm ping on green
Great thanks @monicaw218 |
Ref to #29547
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
Replacing strings interpolated with .format() with strings interpolated with f-strings