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
Release history Release notifications | RSS feed
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.1.tar.gz
.
File metadata
- Download URL: sentry_covdefaults_disable_branch_coverage-1.0.1.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f767c5e4aad1cac4caa5f08394304e39c7a8423f96f13d31699cc3ac02b4e137 |
|
MD5 | d575488d76ce8c161745ab55b9d1c914 |
|
BLAKE2b-256 | 8385489f9887cece54ac73253745516c81aeb3f36c93d7c0efe04b2525de79cf |
File details
Details for the file sentry_covdefaults_disable_branch_coverage-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: sentry_covdefaults_disable_branch_coverage-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdb3f037c51574ec4fc6daeabb9792a1d3d4a0577050da43db1f35a9e3839d7a |
|
MD5 | 760b7e9be96fbed7abc2993beb673b25 |
|
BLAKE2b-256 | b8a563c48fc725327a18260f9adb66ce646214912ba2361a0b9ee2db742182ab |