Skip to content

Conversation

@TrevorBergeron
Copy link
Contributor

@TrevorBergeron TrevorBergeron commented Mar 5, 2025

Fixes: b/401037761

@TrevorBergeron TrevorBergeron requested review from a team as code owners March 5, 2025 23:37
@TrevorBergeron TrevorBergeron requested a review from shobsi March 5, 2025 23:37
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels Mar 5, 2025
@TrevorBergeron TrevorBergeron changed the title chore: Add mypy github action chore: Add mypy, format github actions Mar 6, 2025
@TrevorBergeron TrevorBergeron requested a review from tswast March 6, 2025 00:15
- 'cla/google'
- 'docs'
- 'lint'
- 'format'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we actually want this one? As far as I know GitHub won't commit the changes back. lint also runs the formatter but will fail if any makes a change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was just being conservative, and assumed that format checked things that lint didn't. So to be clear, we don't need format as a prerelease check at all?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, so it looks like lint wasn't doing isort, so I integrated isort --check into the lint workflow, so no need for format

@@ -0,0 +1,22 @@
on:
Copy link
Collaborator

Choose a reason for hiding this comment

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

If we add this here, I think we can safely remove from

which defines the list used in the kokoro presubmit. Or are you waiting to do that cleanup in a subsequent PR (once mypy is required check, perhaps?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removing it (and others) in a following PR: #1459.

@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Mar 7, 2025
@TrevorBergeron TrevorBergeron requested a review from tswast March 7, 2025 02:23
@TrevorBergeron TrevorBergeron changed the title chore: Add mypy, format github actions chore: Add mypy github action Mar 7, 2025
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we can remove this file now that lint runs both black and isort.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

@product-auto-label product-auto-label bot added size: s Pull request size is small. and removed size: m Pull request size is medium. labels Mar 12, 2025
@TrevorBergeron TrevorBergeron merged commit b708e3b into main Mar 12, 2025
24 checks passed
@TrevorBergeron TrevorBergeron deleted the github_more_action branch March 12, 2025 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants