fastai / ghapi

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

mypy linting support #178

Open rbtcollins opened 4 months ago

rbtcollins commented 4 months 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 2 months ago

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