devel/py-mypy 1.18.2 OpenBSD
optional static type checker for Python
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- devel, lang/python
Description
Mypy is an optional static type checker for Python that aims to combine the benefits of dynamic (or "duck") typing and static typing.
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.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/py-mypy | 1.18.2 |
| FreeBSD | devel/py-mypy | 2.3.1 |
| DragonFly | devel/py-mypy | 1.15.0 |
| MidnightBSD | devel/py-mypy | 1.9.0_1 |
| HardenedBSD | devel/py-mypy | 2.3.1 |
| GhostBSD | devel/py-mypy | 2.3.1 |
Install
Binary package:
pkg_add py3-mypy
From the ports tree:
cd /usr/ports/devel/py-mypy && make install