Skip to content

Conversation

@parthea
Copy link
Collaborator

@parthea parthea commented Nov 26, 2025

This change is needed as part of b/463296248. Instead of having 2 different presubmits that run lint and mypy checks, we now have these 2 patterns tested under a single nox session. This follows the pattern that we have in google-cloud-python where there is a single lint nox session.

The pytype nox session was not running as a presubmit so I've removed it. pytype has been deprecated as per this note.

@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label Nov 26, 2025
@parthea parthea marked this pull request as ready for review November 26, 2025 18:38
@parthea parthea requested review from a team as code owners November 26, 2025 18:38
"types-dataclasses",
"types-mock; python_version=='3.7'",
)
session.run("mypy", "google", "tests")
Copy link
Contributor

@daniel-sanche daniel-sanche Nov 26, 2025

Choose a reason for hiding this comment

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

I do think there's value in being able to run mypy on its own sometimes.

It could be annoying to have to fix all other style issues, before even seeing if the types are valid

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ack. I'll keep mypy as a separate presubmit

@parthea parthea closed this Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants