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

add py.typed #1310

Merged
merged 3 commits into from
Jul 15, 2024
Merged

add py.typed #1310

merged 3 commits into from
Jul 15, 2024

Conversation

Goldziher
Copy link
Contributor

This PR adds the py.typed marker file (see: https://peps.python.org/pep-0561/ for reference). Without this file, static type checkers such as MyPy do not consider the library as typed. Thus this PR will resolve errors such as this:

error: Skipping analyzing "pygit2": module is installed, but missing library stubs or py.typed marker  [import-untyped]

@jdavid
Copy link
Member

jdavid commented Jul 15, 2024

@Goldziher
Copy link
Contributor Author

Thanks @Goldziher , the CI is complaining https://github.com/libgit2/pygit2/actions/runs/9928473107

indeed 😉 - should be resolved now.

@jdavid jdavid merged commit b810d9a into libgit2:master Jul 15, 2024
7 checks passed
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

Successfully merging this pull request may close these issues.

2 participants