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 marker #362

Open
clo-vis opened this issue Nov 23, 2023 · 1 comment
Open

Add py.typed marker #362

clo-vis opened this issue Nov 23, 2023 · 1 comment

Comments

@clo-vis
Copy link

clo-vis commented Nov 23, 2023

It seems MIP is fully typed. It does not include, however, the py.typed marker file, which is required to be PEP 561-compliant, and allow users of the library to type-check their code against the type annotations.

@rschwarz
Copy link
Contributor

I think that before this adds value, some of the annotations need fixing, eg replacing numbers.Real with float. We found that using mypy-generated stubs yield a lot of warnings (from mypy).

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