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
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-diff-cover | 9.0.0_1 |
| FreeBSD | devel/py-diff-cover | 10.6.0 |
| DragonFly | devel/py-diff-cover | 9.2.0 |
| HardenedBSD | devel/py-diff-cover | 10.5.1 |
| GhostBSD | devel/py-diff-cover | 10.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
${PYTHON_PKGNAMEPREFIX}poetry-core>0: devel/py-poetry-core
Runtime 5
${PYTHON_PKGNAMEPREFIX}chardet>=3.0.0: textproc/py-chardet${PYTHON_PKGNAMEPREFIX}Jinja2>=2.7.1: devel/py-Jinja2${PYTHON_PKGNAMEPREFIX}pluggy>=0.13.1: devel/py-pluggy${PYTHON_PKGNAMEPREFIX}pygments>=2.9.0: textproc/py-pygments${PYTHON_PKGNAMEPREFIX}tomli>=1.2.1: textproc/py-tomli
Test 4
pylint${PYTHON_PKGNAMESUFFIX}>0: devel/pylint${PYTHON_PKGNAMEPREFIX}pytest-cov>0: devel/py-pytest-cov${PYTHON_PKGNAMEPREFIX}pytest-datadir>=1.4.1: devel/py-pytest-datadir${PYTHON_PKGNAMEPREFIX}pytest-mock>0: devel/py-pytest-mock
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
| File | Size | SHA256 |
|---|---|---|
| diff_cover-9.0.0.tar.gz | 91775 | 1dc851d3f3f320c048d03618e4c0d9861fa4a1506b425d2d09a564b20c95674a |
Master sites 1
- PYPI