optional static type checker for Python
Project homepage: https://www.mypy-lang.org/
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.
Package information
- Ports path
- devel/py-mypy
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- devel, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Runtime
Build
- devel/py-types-psutil
- devel/py-types-setuptools
- devel/py-typing-extensions
- devel/py-mypy-extensions
- devel/py-pathspec
- lang/python/3
- devel/py-build
- devel/py-installer
- devel/py-setuptools py3-setuptools->=79v0
- devel/py-wheel
Test
- devel/py-attrs
- devel/py-test-cov
- devel/py-test-xdist
- sysutils/py-filelock
- sysutils/py-psutil
- textproc/py-tomli
- devel/py-typing-extensions
- devel/py-mypy-extensions
- devel/py-pathspec
- lang/python/3
- devel/py-test
Used by (14 dependency relationships)
Includes library, runtime, build and test dependencies.