-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CLN: .format to f-string formatting in various files #30294
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
@kpmccahill : Thanks for opening this PR! And welcome to pandas! 🚀 The changes look pretty good overall. I have one question about them that's directed towards fellow maintainers as you can see above. |
Thanks! And I'm gonna be honest I wasn't too sure about that one myself for the same reason you mentioned. But I thought I'd give it a go anyways just to see. |
pandas/_config/config.py
Outdated
@@ -388,7 +388,7 @@ class option_context: | |||
Examples | |||
-------- | |||
|
|||
>>> with option_context('display.max_rows', 10, 'display.max_columns', 5): | |||
with option_context('display.max_rows', 10, 'display.max_columns', 5): |
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.
What happened here?
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 thought those were some characters I had accidentally added, but now that I look at the master I realize they're supposed to be there, oops
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, thanks for the clean up!
Thanks @kpmccahill ! |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff