fastai / ghapi

A delightful and complete interface to GitHub's amazing API
https://ghapi.fast.ai/
Apache License 2.0
605 stars 62 forks source link

mypy linting support #178

Open rbtcollins opened 1 month ago

rbtcollins commented 1 month ago

Running mypy in a project that uses ghapi results in this error:

foo.py:14: error: Skipping analyzing "ghapi.all": module is installed, but missing library stubs or py.typed marker  [import-untyped]
foo.py:14: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

ghapi seems to have types already, so all that is missing is a py.typed marker.

jph00 commented 1 week ago

Feel free to send in a PR if it's of interest.