You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal is to replace the usage of pp.numbers with numbers.Real using the standard lib numbers from Python.
The reason is to increase the coverage of precision types, see example below:
With pp.numbers = Union[int, float]
we get
The text was updated successfully, but these errors were encountered:
I stumbled upon an issue with mypy (surprise). It does not support this built-in package.
There is/was an extensive discussion on their side python/mypy#3186.
Since this issue is not that crucial, you might want to consider closing it until it pops up or some compatible solution is found.
The goal is to replace the usage of
pp.numbers
withnumbers.Real
using the standard libnumbers
from Python.The reason is to increase the coverage of precision types, see example below:
With
pp.numbers = Union[int, float]
we get
The text was updated successfully, but these errors were encountered: