Coverage-diff
Show / check coverage only for changed files
Example
Show coverage for all changed files (except deleted & renamed) between current branch and master with numbers of missing lines.
coverage-diff master HEAD --show-missing
Options
usage: main.py [-h] [--diff-filter DIFFS] [--include-regexp REGEXP]
[--full-branches BRANCH] [--show-missing] [--show-missing-full]
[branch1] [branch2]
Show coverage only for changed files
positional arguments:
branch1 first branch for git diff (default: origin/master)
branch2 second branch for git diff (default: HEAD)
optional arguments:
-h, --help show this help message and exit
--diff-filter DIFFS diff types for include files for coverage (more info
at git diff's --diff-filter option) (default: dr)
--include-regexp REGEXP
filter changed files by regexp (default: \.py$)
--full-branches BRANCH
show full coverage for specified branches (delimited
by comma) (default: master)
--show-missing, -m show missed lines for changed files (default: False)
--show-missing-full, -mf
show missed lines for --full-branches (default: False)
--fail-under PERCENT, -f PERCENT
override minimum coverage percent (0 - disabled)
(default: None)
--current-branch BRANCH, -c BRANCH
current branch name from CI (used for compare with
--full-branches); if missed - will be used branch1
(default: None)
--fork-point, -fp compare branch1 with fork point from branch2 (instead
of last commit at branch2) (default: False)
Metadata
Release files for coverage-diff 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| coverage-diff-0.0.8.tar.gz | 3.8 kB | Without provenance | Details for coverage-diff-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| coverage_diff-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for coverage_diff-0.0.8-py3-none-any.whl |
Total release size: 9.5 kB
Release files / coverage-diff-0.0.8.tar.gz
| Download URL | coverage-diff-0.0.8.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d22c29f347dd080e20b6ed35469051d7707856ff23ad2917586af3657bb86b6
|
|
BLAKE2b-256 checksum How to use checksums |
74b88f3f6414fc69e134ba06c37262abe15f2dc0af6276a29f42e3d97fab3d7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
|
Release files / coverage_diff-0.0.8-py3-none-any.whl
| Download URL | coverage_diff-0.0.8-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
379c3f618700f29bae624fb6dae218d732bea676588b78ae9125e2b72d97f1e2
|
|
BLAKE2b-256 checksum How to use checksums |
ff944e16f19ec8f19a52f8a0e8a9bd152288747785a5881d7e42ed862b9ad26b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
|
Security for coverage-diff 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.