devel/py-pytype 2024.10.11nb1 NetBSD
Static type analyzer for Python code
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
65c9b1c391- License
- mit AND apache-2.0
- Categories
- devel, python
- Package size
- 3635.1 KiB, 23321.0 KiB installed
Description
Pytype checks and infers types for your Python code - without requiring type annotations. Pytype can:
* Lint plain Python code, flagging common mistakes such as misspelled attribute names, incorrect function calls, and much more, even across file boundaries. * Enforce user-provided type annotations. While annotations are optional for pytype, it will check and apply them where present. * Generate type annotations in standalone files ("pyi files"), which can be merged back into the Python source with a provided merge-pyi tool.
Pytype is a static analyzer; it does not execute the code it runs on.
Install
Binary package:
pkgin install py312-pytype
From pkgsrc:
cd /usr/pkgsrc/devel/py-pytype && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 2024.10.11nb1 |
| NetBSD 10.1 aarch64 | 2024.10.11nb1 |
| SmartOS / illumos x86_64 | 2024.10.11nb1 |
| macOS 15 arm64 | 2024.10.11nb1 |
Dependencies
Run dependencies 15
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py313-pytype-2024.10.11nb1,py314-pytype-2024.10.11nb1