BSD Ports

devel/py-diff-cover 9.0.0_1 MidnightBSD

Run coverage and linting reports on diffs

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
Apache-2.0
Categories
devel, python

Description

Automatically find diff lines that need test coverage. Also finds diff lines that have violations (according to tools such as pycodestyle, pyflakes, flake8, or pylint). This is used as a code quality metric during code reviews.

In the other systems

SystemPortVersion
MidnightBSDdevel/py-diff-cover9.0.0_1
FreeBSDdevel/py-diff-cover10.6.0
DragonFlydevel/py-diff-cover9.2.0
HardenedBSDdevel/py-diff-cover10.5.1
GhostBSDdevel/py-diff-cover10.5.1

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}diff-cover

From mports:

cd /usr/mports/devel/py-diff-cover && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}diff-cover>0:devel/py-diff-cover

Dependencies

As this port's Makefile names them.

Build 1

Runtime 5

Test 4

Build dependencies 1
Run dependencies 5

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
diff_cover-9.0.0.tar.gz917751dc851d3f3f320c048d03618e4c0d9861fa4a1506b425d2d09a564b20c95674a
Master sites 1
  • PYPI