-
Notifications
You must be signed in to change notification settings - Fork 478
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
No doc for type checker usage (e.g. with mypy) #1577
Comments
after some investigations, I ended up with this example of how to best use
rationale:
I hope this is helpful, I may be completely wrong though... |
In this version, I use an |
any news on this? I'm playing around trying to make mypy happy with my pint'ed code that works at runtime, but fails in mypy |
Might be another instance of
|
Hi,
following this issue and this PR on typing/annotation, I could not find a documentation or a tutorial that would explain how to use
pint
withmypy
or other Python checkers, together with the limitations.Would it be possible to discuss here a few examples of code and usage, before creating a doc entry PR for this topic?
That would be very useful!
Best,
Stéphane
PS: I first asked a similar question in the PR discussion, but I figured it would be best to submit a documentation issue.
The text was updated successfully, but these errors were encountered: