You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Summary of the feature request
Consolidate package level
mypy.inifile 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.iniin 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.