Skip to main content

disables `run:branch` for coverage (enabled by default with covdefaults)

Project description

sentry-covdefaults-disable-branch-coverage

disables run:branch for coverage (enabled by default with covdefaults)

installation

pip install sentry-covdefaults-disable-branch-coverage

why?

branch coverage is extremely slow until this issue is solved

covdefaults always sets run:branch = true

this is a hack to disable run:branch (by ordering this plugin after covdefaults)

usage

to enable the plugin, add it after covdefaults in your coverage plugins

in .coveragerc:

[run]
plugins =
    covdefaults
    sentry_covdefaults_disable_branch_coverage

in setup.cfg / tox.ini:

[coverage:run]
plugins =
    covdefaults
    sentry_covdefaults_disable_branch_coverage

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

File details

Details for the file sentry_covdefaults_disable_branch_coverage-1.0.2.tar.gz.

File metadata

File hashes

Hashes for sentry_covdefaults_disable_branch_coverage-1.0.2.tar.gz
Algorithm Hash digest
SHA256 6ce658a6cf7e7fe865caa52f1b1f60c2330e126f5629608fbbd00637db1838d1
MD5 b40856755ef163a94a35e525266f7022
BLAKE2b-256 1cdf33226c4b784b5a0df13e53f9ea0a59dfa9f2a2b8e27bfd71f818770d5f50

See more details on using hashes here.

File details

Details for the file sentry_covdefaults_disable_branch_coverage-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for sentry_covdefaults_disable_branch_coverage-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 20dcf7eec520f45d70402af0d3aecc7e0e1dc1bf0e4a0e03061797525eb99992
MD5 df89a750a85790039077f9f3475a6f78
BLAKE2b-256 e864aad4c0427b50b331beff0e2e831762fb82b7b3c6a8c2da7f67db9437ff2a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page