basedmypy
basedmypy copied to clipboard
Allow usage of all `typing` members in annotations
def foo() -> Never: ... # allowed
b = Union[int, str] # not allowed
basedtyping as well.
Maybe types as well.
We could modify sitecustomize.py to actually load these for real. (mypy install-site-types maybe)
b = Union[int, str] # allowed