Miscellaneous

These options may only be set in the global section ([mypy]).

  • junit_xml (string)
  • Causes mypy to generate a JUnit XML test result document withtype checking results. This can make it easier to integrate mypywith continuous integration (CI) tools.
  • scripts_are_modules (bool, default False)
  • Makes script x become module x instead of main. This isuseful when checking multiple scripts in a single run.
  • warn_unused_configs (bool, default False)
  • Warns about per-module sections in the config file that do notmatch any files processed when invoking mypy.(This requires turning off incremental mode using incremental = False.)
  • verbosity (integer, default 0)
  • Controls how much debug output will be generated. Higher numbers are more verbose.