devel/py-diff-cover 10.6.0
Run coverage and linting reports on diffs
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
072f396f33- License
- APACHE20
- Categories
- devel, python
- Package size
- 100.1 KiB, 518.0 KiB installed
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.
Install
As a binary package — by origin, or by package name:
pkg install devel/py-diff-cover
pkg install py312-diff-cover
From the ports tree:
cd /usr/ports/devel/py-diff-cover/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-diff-cover>0:devel/py-diff-cover
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 | 10.5.1 | 10.6.0 | - | 9.2.0 | 10.6.0 |
| FreeBSD:14:quarterly | 10.5.1 | 10.5.1 | n/a | 9.2.0 | 10.5.1 |
| FreeBSD:15:latest | 10.6.0 | 10.6.0 | n/a | 9.2.0 | 9.2.0 |
| FreeBSD:15:quarterly | 10.5.1 | 10.5.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 10.5.1 | 10.6.0 | 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 1
${PYTHON_PKGNAMEPREFIX}hatchling>0: devel/py-hatchling
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.19.1: textproc/py-pygments${PYTHON_PKGNAMEPREFIX}tomli>=1.2.1: textproc/py-tomli
Test 5
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${PYTHON_PKGNAMEPREFIX}pytest-xdist>0: devel/py-pytest-xdist
The full lists below include those, and their dependencies in turn.
All build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
All run dependencies 17
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| diff_cover-10.6.0.tar.gz | 107697 | 8d1194dfb537f70480ac97c9c45dd40721cf4c326c9903fbe997db67a4db6195 |
Master sites 1
- PYPI