Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Move mypy.ini to the monorepo root. #17322

Copy link
Copy link

Description

@chalmerlowe
Issue body actions

Summary of the feature request

Consolidate package level mypy.ini file contents into a single global file at the monorepo root level.

Current State: 9 packages define their own mypy.ini.
Similarity Profile: The 9 files fall into only 3 identical variations. Variation 1 is shared by 6 packages, and Variation 2 is shared by 2 packages.
Why it's a prime candidate: Mypy configurations are mostly boilerplate rules specifying strict mode, error codes, and global exclusions.

Recommendation:
Move these rules to a single mypy.ini in the repository root.
Use Mypy’s native section overrides (e.g. [mypy-google.cloud.datastore.*]) in the master root configuration if package-specific exceptions are needed, allowing you to safely delete all per-package files.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: cleanupAn internal cleanup or hygiene concern.An internal cleanup or hygiene concern.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.