Things learnt about mypy
- Not to union Python list types on
- How to handle convenience imports with Mypy on
- Mypy skips empty functions on
- How Django’s management commands need to be type hinted on
-
About
mypy
’s unreachable code functionality on -
About
mypy
’sreveal_type
andreveal_locals
functions on -
That
mypy
only type-checks functions that have at least one type annotation on -
A better way of configuring
mypy
on -
How to use type annotations with Python’s
csv
module on