MyPy PEP 585, 604 support
MyPy supports PEP 585 and 604, bringing concise Python 3.10 type annotation syntax to earlier Python versions. The new type annotation syntax works all supported Python versions, if each file using them has at the top:
from __future__ import annotations
Separately, Numpy 1.20 made the long-awaited Numpy type hinting a reality.