Skip to content

Bring codebase up to modern Python using pyupgrade - #213

Merged
stevejalim merged 9 commits into
mainfrom
184-code-cleanup
Jan 29, 2024
Merged

Bring codebase up to modern Python using pyupgrade#213
stevejalim merged 9 commits into
mainfrom
184-code-cleanup

Conversation

@stevejalim

@stevejalim stevejalim commented Jan 27, 2024

Copy link
Copy Markdown
Contributor

This changeset tweaks some things flagged (and auto-fixed) by pyupgrade, targetting 3.12. Tox confirms things still work all the back back to 3.8

(Note: we still need to/should follow up with an actual close-up code review of it all, too. django-upgrade didn't spot anything that needed fixing, which kind of surprised me)

@stevejalim
stevejalim requested a review from robhudson January 27, 2024 17:35

@robhudson robhudson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Surprised this isn't a bigger change-set. r+

@stevejalim

Copy link
Copy Markdown
Contributor Author

Yeah I was surprised too @robhudson

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