-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
[3/N] Use pyupgrade --py39-plus to improve code #36936
base: main
Are you sure you want to change the base?
Conversation
Hi 👋, thank you for opening this pull request! The pull request is converted to draft by default. The CI will be paused while the PR is in draft mode. When it is ready for review, please click the |
439131a
to
4a8ed1d
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.
Looks good to me, with one comment!
Sorry about the failing tests - try rerunning / updating until they pass, then ping me to merge it! |
Without TF jobs, hope it becomes green. |
f5d8c37
to
4475a8a
Compare
@Rocketknight1 Can |
Hi 👋, thank you for opening this pull request! The pull request is converted to draft by default. The CI will be paused while the PR is in draft mode. When it is ready for review, please click the |
cd588b3
to
af031dc
Compare
@Rocketknight1 Base on others' opinions, it's better to deal with smaller PRs like this one. |
@cyyever sure! In that case, please try |
@Rocketknight1 Unrelated failures. We can wait them become green. |
What does this PR do?
Continued work to adopt Python 3.9 syntax. Follows #36857 .
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.