Skip to main content

Apache 2.0 License

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)

Table of built distributions (wheels) for exclude-until-coverage-plugin 0.4.0
File Interpreter ABI Platform
exclude_until_coverage_plugin-0.4.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.4.0 This release

1 release file

0.3.1

1 release file

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page