Mypy
0.720
First steps
Introduction
Getting started
Using mypy with an existing codebase
Cheat sheets
Type hints cheat sheet (Python 3)
Type hints cheat sheet (Python 2)
Type system reference
Built-in types
Type inference and type annotations
Kinds of types
Class basics
Protocols and structural subtyping
Type checking Python 2 code
Dynamically typed code
Casts and type assertions
Duck type compatibility
Stub files
Generics
More types
Literal types
Final names, methods and classes
Metaclasses
Configuring and running mypy
Running mypy and managing imports
The mypy command line
The mypy configuration file
Inline configuration
Mypy daemon (mypy server)
Using installed packages
Extending and integrating mypy
Automatic stub generation (stubgen)
Miscellaneous
Common issues and solutions
Supported Python features
New features in Python 3.6
Additional features
Frequently Asked Questions
Mypy
Docs
»
Index
Index