-
Notifications
You must be signed in to change notification settings - Fork 31.7k
Use pyupgrade --py39-plus to improve code #36843
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
Conversation
|
Hi 👋, thank you for opening this pull request! The pull request is converted to draft by default. When it is ready for review, please click the |
b287296 to
099bfec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Whenever you're ready, you should:
- Mark this "Ready for review"
- Rebase / resolve conflicts - this touches a lot of files, so you may have to rebase repeatedly to avoid conflicts with new commits!
- Ping me to merge it
|
@Rocketknight1 Ready |
18669c8 to
3f6ebc1
Compare
|
@cyyever testing the doc build with these new changes, will merge once that passes. Thank you for the PR! |
|
Update: Doc builds are failing on |
|
@Rocketknight1 Thank you for quick responds, the document CI failures seem unrelated to this PR. |
What does this PR do?
Refactor code to use syntax and library functions from Python 3.9.
Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.