Skip to content

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

Merged
erlend-aasland merged 7 commits into
python:mainfrom
AlexWaygood:clinic-pyupgrade
May 20, 2023
Merged

gh-104683: Modernise Tools/clinic/ using pyupgrade#104684
erlend-aasland merged 7 commits into
python:mainfrom
AlexWaygood:clinic-pyupgrade

Conversation

@AlexWaygood

@AlexWaygoodAlexWaygood commented May 20, 2023

Copy link
Copy Markdown
Member

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.

Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
AlexWaygoodand others added 3 commits May 20, 2023 18:58
Comment threadTools/clinic/clinic.py Outdated
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Comment threadTools/clinic/clinic.py
Comment threadTools/clinic/clinic.py Outdated
@erlend-aasland
erlend-aasland enabled auto-merge (squash) May 20, 2023 19:57

@erlend-aaslanderlend-aasland left a comment

Copy link
Copy Markdown
Contributor

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:mainMay 20, 2023
@AlexWaygood
AlexWaygood deleted the clinic-pyupgrade branch May 20, 2023 20:22
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@AlexWaygood@erlend-aasland@bedevere-bot