mypy
« Back to VersTracker
Description:
Experimental optional static type checker for Python
Type: Formula  |  Latest Version: 1.19.1@0  |  Tracked Since: Oct 12, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: python type-checker static-analysis developer-tools linting
Install: brew install mypy
About:
Mypy is a static type checker for Python that aims to combine the benefits of dynamic and static typing. It allows developers to add type annotations to their Python code, which mypy can then check for consistency and correctness without actually running the code. This helps catch common bugs early in the development cycle and improves code maintainability.
Key Features:
  • Gradual typing: Add type annotations to existing Python code incrementally
  • Standard library support: Works with Python's standard typing module
  • Type inference: Automatically deduces types where annotations are missing
  • Plugin system: Extensible architecture for custom type checking behavior
Use Cases:
  • Validating type correctness in large Python codebases before deployment
  • Improving IDE autocompletion and developer experience
  • Enforcing type safety as part of CI/CD pipelines
Alternatives:
  • pyright – Microsoft's type checker, generally faster but less focused on Python ecosystem integration
  • pylint – General linter with some type checking features, but not a dedicated static type checker
Version History
Detected Version Rev Change Commit
Oct 12, 2025 3:20pm 0 VERSION_BUMP 5f6ae9f4
Sep 16, 2025 6:09am 0 VERSION_BUMP a8c7e1ca
Sep 12, 2025 12:46am 0 VERSION_BUMP 8300d8f7
Dec 30, 2024 5:03pm 0 VERSION_BUMP b9e7ae62
Oct 23, 2024 12:53am 0 VERSION_BUMP e1aa778d
Aug 25, 2024 3:07am 0 VERSION_BUMP d0bc7f55
Jul 19, 2024 8:44pm 0 VERSION_BUMP 985c9b75
Jun 25, 2024 12:55am 0 VERSION_BUMP 26f035f3
Nov 10, 2023 5:48pm 0 VERSION_BUMP 869ffb50
Nov 10, 2023 11:19am 0 VERSION_BUMP 17bb6d1c
Nov 9, 2023 12:19am 1 VERSION_BUMP a524c3eb
Nov 8, 2023 8:43am 1 VERSION_BUMP 8e6b41d1
Aug 16, 2023 8:16pm 0 VERSION_BUMP 8df67fbd
Jun 20, 2023 9:32am 0 VERSION_BUMP 66f55f58
May 11, 2023 5:13am 0 VERSION_BUMP 2193b465