Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mypy linting support #178

Open
rbtcollins opened this issue Jul 17, 2024 · 1 comment
Open

mypy linting support #178

rbtcollins opened this issue Jul 17, 2024 · 1 comment

Comments

@rbtcollins
Copy link

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
Copy link
Member

jph00 commented Aug 31, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants