Practical advice for using Mypy
summary
Covers lesser-known features of the Mypy type checker and its typing_extensions module — specifically immutable types and exhaustiveness checking — explaining how to use those features to declare more accurate types, get stronger warnings, and improve code safety and developer productivity.
AI-written summary · about
related talks
30mStatic type checking with mypy
23mmypy Python's gradual typing implementation
46mHow to make a static type checker your best friend
31mStatic Type Analysis for Robust Data Products
57mWhy You Should Care About Types
35mHow you can benefit from type hints
29mPython Type hints and how they can supercharge CS education.
27m"How to Use Static Typing in Python with Type Hints, MyPy and Pydantic"