The mypy command line
This section documents mypy’s command line interface. You can viewa quick summary of the available flags by running mypy —help
.
Note
Command line flags are liable to change between releases.
- Specifying what to type check
- Optional arguments
- Config file
- Import discovery
- Platform configuration
- Disallow dynamic typing
- Untyped definitions and calls
- None and Optional handling
- Configuring warnings
- Miscellaneous strictness flags
- Configuring error messages
- Incremental mode
- Advanced options
- Report generation
- Miscellaneous