2 ms·
> If you write a type hint in your code and then run mypy on it, it will tell you whether the type is being violated. Only if the type hints for all the librar
by lmm 5y ago
> If you write a type hint in your code and then run mypy on it, it will tell you whether the type is being violated.
Only if the type hints for all the libraries you use are correct (and in practice they're not).