able-television-91310
09/06/2022, 12:46 PMpy.typed
file or adding it implicitly for mypy and packaging?curved-television-6568
09/06/2022, 12:48 PMtyped
field to the python_distribution
target, but currently you’ll have to create the py.typed
file yourself and include it in your distribution as a resource. For comparison you may look at how this is done in the Pants repo itself.
https://github.com/pantsbuild/pants/blob/6dda95b425203db32f05eb3d4317655929162332/src/python/pants/BUILD#L43