Describe the bug
When importing anything from pantsbuild.pants while using strict type checking, an error is reported claiming that the package is missing type stubs. The package is missing a top level __init__.py file, causing type checkers to interpret each package inside pants build.pants as wholly separate and requiring their own py.typed files. This was confirmed with both MyPy and Pyright.
Describe the bug When importing anything from
pantsbuild.pants
while using strict type checking, an error is reported claiming that the package is missing type stubs. The package is missing a top level__init__.py
file, causing type checkers to interpret each package insidepants build.pants
as wholly separate and requiring their ownpy.typed
files. This was confirmed with both MyPy and Pyright.Pants version pantsbuild.pants==2.12.1rc2