BSD Ports

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

SystemPortVersion
FreeBSDdevel/py-vulture2.16
OpenBSDdevel/py-vulture2.15
NetBSDdevel/py-vulture2.16
DragonFlydevel/py-vulture2.9.1_1
HardenedBSDdevel/py-vulture2.16
GhostBSDdevel/py-vulture2.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.162.162.62.9.1_12.16
FreeBSD:14:quarterly2.162.16n/a2.9.1_12.16
FreeBSD:15:latest2.162.16n/a2.9.1_12.9.1_1
FreeBSD:15:quarterly2.162.16n/an/an/a
FreeBSD:16:latest2.162.16n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Test 2

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
FileSizeSHA256
vulture-2.16.tar.gz52680f8d9f6e2af03011664a3c6c240c9765b3f392917d3135fddca6d6a68d359f717
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
381427406d Po-Chuan Hsieh devel/py-vulture: Update to 2.16
Changes: https://github.com/jendrikseipp/vulture/releases