-
Notifications
You must be signed in to change notification settings - Fork 322
Closed
Labels
api: bigqueryIssues related to the googleapis/python-bigquery API.Issues related to the googleapis/python-bigquery API.samplesIssues that are directly related to samples.Issues that are directly related to samples.semver: majorHint for users that this is an API breaking change.Hint for users that this is an API breaking change.type: processA process-related concern. May include testing, release, or the like.A process-related concern. May include testing, release, or the like.
Description
So that we have some assurance that our customers can use mypy / pytype successfully from our library, I think we should run mypy / pytype on them as well.
Ideally we'd do this from the Samples Kokoro jobs, as that'll be more similar to the development environment that a customer has setup.
Step 0.
- Add type hints to our code samples. (Maybe include in our root mypy/pytype noxfile config?)
Step 1.
- Add optional pytype / mypy sessions to https://github.com/googleapis/synthtool/blob/master/synthtool/gcp/templates/python_samples/noxfile.py.j2
Step 2.
- Enable this feature in our samples, probably via the noxfile_config.py files.
Metadata
Metadata
Assignees
Labels
api: bigqueryIssues related to the googleapis/python-bigquery API.Issues related to the googleapis/python-bigquery API.samplesIssues that are directly related to samples.Issues that are directly related to samples.semver: majorHint for users that this is an API breaking change.Hint for users that this is an API breaking change.type: processA process-related concern. May include testing, release, or the like.A process-related concern. May include testing, release, or the like.