After a simple pip install pegen, the directory site-packages/pegen under my venv doesn't include py.typed and consequently mypy fails to typecheck my code which imports stuff from pegen. I'd submit a PR but I expect you'll want to include this file via pyproject.toml rather than setup.py, and honestly I'm not not sure how to do that.
For the moment, I just did touch .venv/lib/python3.11/site-packages/pegen/py.typed to nudge things along, but it would be great if this wasn't necessary. Thanks!
After a simple
pip install pegen
, the directorysite-packages/pegen
under my venv doesn't includepy.typed
and consequently mypy fails to typecheck my code which imports stuff from pegen. I'd submit a PR but I expect you'll want to include this file via pyproject.toml rather than setup.py, and honestly I'm not not sure how to do that.For the moment, I just did
touch .venv/lib/python3.11/site-packages/pegen/py.typed
to nudge things along, but it would be great if this wasn't necessary. Thanks!