[go: up one dir, main page]

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

feat: upgrade sample style (Cloud SDK) #9942

Merged
merged 3 commits into from
May 15, 2023
Merged

feat: upgrade sample style (Cloud SDK) #9942

merged 3 commits into from
May 15, 2023

Conversation

kweinmeister
Copy link
Contributor

Applied pyupgrade to use f-strings and newer Python features.

@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: cloudsql api: datastore Issues related to the Datastore API. api: firestore Issues related to the Firestore API. api: storage Issues related to the Cloud Storage API. api: tasks Issues related to the Tasks API API. labels May 12, 2023
@kweinmeister kweinmeister added the snippet-bot:force-run Force snippet-bot runs its logic label May 12, 2023
@snippet-bot snippet-bot bot removed the snippet-bot:force-run Force snippet-bot runs its logic label May 12, 2023
@kweinmeister kweinmeister marked this pull request as ready for review May 12, 2023 22:12
@kweinmeister kweinmeister requested a review from a team May 12, 2023 22:12
@kweinmeister kweinmeister requested review from a team as code owners May 12, 2023 22:12
Copy link
Member
@yil532 yil532 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator
@dandhlee dandhlee left a comment

Choose a reason for hiding this comment

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

What a great tool! LGTM for Python style.

nit: could you break these into multiple PRs if there's a lot to review? These type of PRs don't take long to review but just want to make sure nothing slips out and we're okay upgrading these - for example, .format() syntax is still preferred for logging libraries rather than f-strings.

@kweinmeister kweinmeister merged commit 6e063e0 into main May 15, 2023
11 checks passed
@kweinmeister kweinmeister deleted the pyupgrade-sdk branch May 15, 2023 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: cloudsql api: datastore Issues related to the Datastore API. api: firestore Issues related to the Firestore API. api: storage Issues related to the Cloud Storage API. api: tasks Issues related to the Tasks API API. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants