Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

More Python f-strings with flynt#3212

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
illume merged 3 commits intopygame:mainfromcclauss:flynt
Jun 5, 2022
Merged

More Python f-strings with flynt#3212

illume merged 3 commits intopygame:mainfromcclauss:flynt
Jun 5, 2022

Conversation

@cclauss
Copy link
Contributor

@cclausscclauss commentedJun 5, 2022
edited
Loading

This PR was created with the command:flynt .

Running flynt v.0.76Flynt run has finished. Stats:Execution time:                            1.944sFiles checked:                             204Files modified:                            39Character count reduction:                 592 (0.02%)Per expression type:Old style (`%`) expressions attempted:     120/241 (49.8%)`.format(...)` calls attempted:            19/19 (100.0%)No concatenations attempted.F-string expressions created:              119

@cclausscclauss mentioned this pull requestJun 5, 2022
Copy link
Contributor

@MyreMylarMyreMylar left a comment

Choose a reason for hiding this comment

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

LGTM 👍


defSpeedTest(image):
print("\nImage Scaling Speed Test - Image Size%s\n"%str(image.get_size()))
print(f"\nImage Scaling Speed Test - Image Size{str(image.get_size())}\n")
Copy link
Member

Choose a reason for hiding this comment

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

Not that it matters really, butstr() isn't necessary here.

Copy link
Member

@illumeillume left a comment

Choose a reason for hiding this comment

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

👍 thanks

@illumeillume merged commit3e922b5 intopygame:mainJun 5, 2022
@cclausscclauss deleted the flynt branchJune 5, 2022 21:41
@illumeillume added the Code quality/robustnessCode quality and resilience to changes labelAug 28, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@illumeillumeillume approved these changes

+3 more reviewers

@andrewhong04andrewhong04andrewhong04 left review comments

@dr0iddr0iddr0id approved these changes

@MyreMylarMyreMylarMyreMylar approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

Code quality/robustnessCode quality and resilience to changespython codeThis involves python code

Projects

None yet

Milestone

2.1.3

Development

Successfully merging this pull request may close these issues.

6 participants

@cclauss@illume@dr0id@MyreMylar@andrewhong04@Starbuck5

[8]ページ先頭

©2009-2025 Movatter.jp