Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add `mypy` presubmit to Python samples

Open
#13,303 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 5 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
github-actions, python
Domain
ci-cd, testing-qa

Research direction

Start by locating the repository's existing GitHub presubmit configuration and review the related issue at https://github.com/GoogleCloudPlatform/python-docs-samples/issues/13302. Determine how the Python samples are selected, then verify that the presubmit runs mypy and reports type failures.

Written by the indexing model from the issue text.

Description

priority: p3 samples triage me type: feature request

It will be helpful to include a mypy presubmit to improve the end user experience and avoid type failures for users similar to: https://github.com/GoogleCloudPlatform/python-docs-samples/issues/13302.

Add a github presubmit that runs mypy on the samples to capture any type failures.

Dominant language
Jupyter Notebook
Stars
8.1k
Forks
6.7k
Avg merge
4d 12h
Merged PRs (30d)
9

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GoogleCloudPlatform/python-docs-samples

All issues in GoogleCloudPlatform/python-docs-samples

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.