devel/py-vulture 2.16 FreeBSD
Find dead code in Python programs
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
381427406d- License
- MIT
- Categories
- devel, python
- Package size
- 52.5 KiB, 212.2 KiB installed
Description
Vulture finds unused code in Python programs. This is useful for cleaning up and finding errors in large code bases. If you run Vulture on both your library and test suite you can find untested code.
Due to Python's dynamic nature, static code analyzers like Vulture are likely to miss some dead code. Also, code that is only called implicitly may be reported as unused. Nonetheless, Vulture can be a very helpful tool for higher code quality.
Features:
- fast: uses static code analysis
- tested: tests itself and has complete test coverage
- complements pyflakes and has the same output syntax
- sorts unused classes and functions by size with --sort-by-size
- supports Python 2.7 and Python >= 3.4
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-vulture | 2.16 |
| OpenBSD | devel/py-vulture | 2.15 |
| NetBSD | devel/py-vulture | 2.16 |
| DragonFly | devel/py-vulture | 2.9.1_1 |
| HardenedBSD | devel/py-vulture | 2.16 |
| GhostBSD | devel/py-vulture | 2.9.1_1 |
Install
Binary package:
pkg install py312-vulture
From the ports tree:
cd /usr/ports/devel/py-vulture/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-vulture>0:devel/py-vulture
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.16 | 2.16 | 2.6 | 2.9.1_1 | 2.16 |
| FreeBSD:14:quarterly | 2.16 | 2.16 | n/a | 2.9.1_1 | 2.16 |
| FreeBSD:15:latest | 2.16 | 2.16 | n/a | 2.9.1_1 | 2.9.1_1 |
| FreeBSD:15:quarterly | 2.16 | 2.16 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.16 | 2.16 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=61: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Test 2
${PYTHON_PKGNAMEPREFIX}pytest>=0: devel/py-pytest${PYTHON_PKGNAMEPREFIX}pytest-cov>=0: devel/py-pytest-cov
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 7
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| vulture-2.16.tar.gz | 52680 | f8d9f6e2af03011664a3c6c240c9765b3f392917d3135fddca6d6a68d359f717 |
Master sites 1
- PYPI