We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With the newest version of pint, running mypy on the following script
pint
mypy
import pint ureg = pint.UnitRegistry() unit_of_length: pint.Unit = ureg.m
returns the following error:
Incompatible types in assignment (expression has type "Quantity", variable has type "Unit") [assignment]
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
With the newest version of
pint
, runningmypy
on the following scriptreturns the following error:
The text was updated successfully, but these errors were encountered: