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

gh-104683: Modernise Tools/clinic/ using pyupgrade #104684

Merged
merged 7 commits into from
May 20, 2023

Conversation

AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented May 20, 2023

This PR was produced by running pyupgrade Tools/clinic/clinic.py Tools/clinic/cpp.py --py310-plus. Most of the changes are to use f-strings rather than older string formatting techniques.

Tools/clinic/clinic.py Outdated Show resolved Hide resolved
Tools/clinic/clinic.py Outdated Show resolved Hide resolved
Tools/clinic/clinic.py Outdated Show resolved Hide resolved
Tools/clinic/clinic.py Outdated Show resolved Hide resolved
Tools/clinic/clinic.py Outdated Show resolved Hide resolved
Tools/clinic/clinic.py Outdated Show resolved Hide resolved
Tools/clinic/clinic.py Outdated Show resolved Hide resolved
Tools/clinic/clinic.py Outdated Show resolved Hide resolved
Tools/clinic/clinic.py Outdated Show resolved Hide resolved
Tools/clinic/clinic.py Outdated Show resolved Hide resolved
AlexWaygood and others added 3 commits May 20, 2023 18:58
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Tools/clinic/clinic.py Outdated Show resolved Hide resolved
@erlend-aasland erlend-aasland enabled auto-merge (squash) May 20, 2023 19:57
Copy link
Contributor

@erlend-aasland erlend-aasland left a comment

Choose a reason for hiding this comment

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

Slowly, AC is becoming more maintainable. I like it. Thanks!

@erlend-aasland erlend-aasland merged commit 19dd5aa into python:main May 20, 2023
@AlexWaygood AlexWaygood deleted the clinic-pyupgrade branch May 20, 2023 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants