logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Mypy - Type Check Python Code | Online Free DevTools by Hexmos

Type check Python code with Mypy. Improve code quality and catch errors early with static type analysis. Free online tool, no registration required.

mypy

Type check Python code. More information: https://mypy.readthedocs.io/en/stable/running_mypy.html.

  • Type check a specific file:

mypy {{path/to/file.py}}

  • Type check a specific module:

mypy {{[-m|--module]}} {{module_name}}

  • Type check a specific package:

mypy {{[-p|--package]}} {{package_name}}

  • Type check a string of code:

mypy {{[-c|--command]}} "{{code}}"

  • Ignore missing imports:

mypy --ignore-missing-imports {{path/to/file_or_directory}}

  • Show detailed error messages:

mypy {{[--tb|--show-traceback]}} {{path/to/file_or_directory}}

  • Specify a custom configuration file:

mypy --config-file {{path/to/config_file}}

  • Display help:

mypy {{[-h|--help]}}

See Also