typet
typet copied to clipboard
Validation types do not work with mypy.
mypy
reports validation objects as invalid type aliases.
Additionally, if a validation type is used as a class annotation without being aliased, mypy
ends analysis with an invalid syntax error.
See python/mypy#4285.