py313-mypy

v 1.16.1 Updated: 5 days, 9 hours ago

Optional static typing for Python

Add type annotations to your Python programs, and use mypy to type check them. Mypy is essentially a Python linter on steroids, and it can catch many programming errors by analyzing your program, without actually having to run it. Mypy has a powerful type system with features such as type inference, gradual typing, generics and union types…

https://www.mypy-lang.org

To install py313-mypy, paste this in macOS terminal after installing MacPorts

sudo port install py313-mypy

Add to my watchlist

Installations 52
Requested Installations 9