Python Type Annotations in a Large Codebase: Three Years Later
We added mypy strict mode to a 120 KLOC Python codebase in incremental passes over 18 months. What we caught, what we missed, and what the team thinks now.
We added mypy strict mode to a 120 KLOC Python codebase in incremental passes over 18 months. What we caught, what we missed, and what the team thinks now.
Overview
This note is part of the field-notes archive generated for this site. The summary below is the published excerpt; you can expand the full write-up anytime in the CMS.
Related notes
Tags
- python
- mypy
- type-checking
- software-engineering
- large-codebase
Manish Bookreader
Electronics enthusiast, Embedded Systems Expert, Linux/Networking programmer, and Software Engineer passionate about AI, electronics, books, and cooking.