Mypy is a static type checker for Python 3 and Python 2.7.
.. toctree:: :maxdepth: 2 :caption: First steps introduction getting_started existing_code
.. toctree:: :maxdepth: 2 :caption: Cheat sheets cheat_sheet_py3 cheat_sheet
.. toctree:: :maxdepth: 2 :caption: Type system reference builtin_types type_inference_and_annotations kinds_of_types class_basics runtime_troubles protocols dynamic_typing python2 type_narrowing duck_type_compatibility stubs generics more_types literal_types final_attrs metaclasses
.. toctree:: :maxdepth: 2 :caption: Configuring and running mypy running_mypy command_line config_file inline_config mypy_daemon installed_packages extending_mypy stubgen
.. toctree:: :maxdepth: 2 :caption: Miscellaneous common_issues supported_python_features error_codes error_code_list error_code_list2 additional_features faq