A coverage.py plugin that excludes lines until a marker is found.
The plugin is pip installable:
$ pip install exclude-until-coverage-plugin
To run it, add this setting to your .coveragerc file:
[run]
plugins =
exclude_until_coverage_plugin
Then run your tests under coverage.py. This will use the default marker # = exclude above lines = and exclude all lines above the line this text appears on. Use the plugin options to change the marker. To change the marker, add this configuration value to your .coveragerc file:
[exclude_until_coverage_plugin] marker=# my marker
Metadata
Release files for exclude-until-coverage-plugin 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| exclude_until_coverage_plugin-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for exclude_until_coverage_plugin-0.4.0-py3-none-any.whl |
Release files / exclude_until_coverage_plugin-0.4.0-py3-none-any.whl
| Download URL | exclude_until_coverage_plugin-0.4.0-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
598596a120c2c1bc2613b3915158905ae3d957be23bba2e4da52de66de24c943
|
|
BLAKE2b-256 checksum How to use checksums |
3350da2460d7e339ba9060f3f4cde7e37680790b89e711a0427ecaa8375a13fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Security for exclude-until-coverage-plugin 0.4.0
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.