Add centralized path to mypy.ini in crc32c

Open
#17,606 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@chalmerlowe is already working on this.

Since Jul 1, 2026.

Assessment

This issue has not been assessed yet.

Description

type: cleanup

Add the centralized path to the root mypy.ini file for these packages:

  • bigframes obsolete, code moved to github.com/google/bigframes
  • google-cloud-crc32c

Use the following path search:

# Path to the centralized mypy configuration file at the repository root.
# Search upwards to support running nox from both monorepo packages and integration test goldens.
MYPY_CONFIG_FILE = next(
    (
        str(p / "mypy.ini")
        for p in CURRENT_DIRECTORY.parents
        if (p / "mypy.ini").exists()
    ),
    str(CURRENT_DIRECTORY.parent.parent / "mypy.ini"),
)

See this PR for exemplars

Dominant language
Python
Stars
5.4k
Forks
1.8k
Avg merge
2d 7h
Merged PRs (30d)
173

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 googleapis/google-cloud-python

All issues in googleapis/google-cloud-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.