📝 Edit page
➕ Add page
Type checks
How to add type safety to Python
Topics
Pages
- About
-
CLI
Mypy usage
- Classes
- Global
- Ignore
- Install and run Mypy
- Install types
-
Missing imports
What to do when Mypy gives an error that it cannot find types for imports
Content
In Python 3.6, type-hints were added as allowed syntax which can optionally be checked with a tool like Mypy.