mypy — Make Python’s Type Hints Actually Do Something

A complete guide to static type checking in Python: from your first annotation to strict mode, Protocols, TypedDict, mypyc, and everything…