Advanced options
These options may only be set in the global section ([mypy]
).
pdb
(bool, default False)- Invokes pdb on fatal error.
show_traceback
(bool, default False)- Shows traceback on fatal error.
raise_exceptions
(bool, default False)- Raise exception on fatal error.
custom_typing_module
(string)- Specifies a custom module to use as a substitute for the
typing
module. custom_typeshed_dir
(string)- Specifies an alternative directory to look for stubs instead of thedefault
typeshed
directory. User home directory and environmentvariables will be expanded. warn_incomplete_stub
(bool, default False)- Warns about missing type annotations in typeshed. This is only relevantin combination with
disallow_untyped_defs
ordisallow_incomplete_defs
.