Type annotations in Python 3.6 and using Mypy as a static type checker
The main goal of type annotations is to open up Python code to easier static analysis and refactoring, potential runtime type checking, and (perhaps, in some contexts) code generation utilizing type information. These were introduced in PEP 484. In this regards, static type checking is the most impo ...READ MORE...