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

Bring codebase up to modern Python using pyupgrade #213

Merged
merged 9 commits into from
Jan 29, 2024
Merged

Conversation

stevejalim
Copy link
Contributor

@stevejalim stevejalim commented Jan 27, 2024

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)

Copy link
Member

@robhudson robhudson left a comment

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
Contributor Author

Yeah I was surprised too @robhudson

@stevejalim stevejalim merged commit 371da46 into main Jan 29, 2024
9 checks passed
@stevejalim stevejalim deleted the 184-code-cleanup branch January 29, 2024 20:16
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