Skip to content
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

Use f-strings where possible #762

Merged
merged 1 commit into from
Dec 18, 2023
Merged

Use f-strings where possible #762

merged 1 commit into from
Dec 18, 2023

Conversation

akx
Copy link
Member

@akx akx commented Dec 18, 2023

What does this PR do?

This PR cleans up various uses of % or .format or + string interpolation to use f-strings instead, for performance and readability.

Conversion was guided by https://github.com/ikamensh/flynt and hand-checked.

Semi-automated using ikamensh/flynt
@akx akx mentioned this pull request Dec 18, 2023
Copy link
Member

@MSeal MSeal left a comment

Choose a reason for hiding this comment

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

Thanks for the improvement!

@MSeal MSeal merged commit bc9c607 into nteract:main Dec 18, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants