sentry-covdefaults-disable-branch-coverage


Namesentry-covdefaults-disable-branch-coverage JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/getsentry/sentry-covdefaults-disable-branch-coverage
Summarydisables `run:branch` for coverage (enabled by default with covdefaults)
upload_time2024-11-21 17:42:28
maintainerNone
docs_urlNone
authorSentry
requires_python>=3.9
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            sentry-covdefaults-disable-branch-coverage
==========================================

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

## installation

```bash
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`)

[covdefaults]: https://github.com/asottile/covdefaults
[this issue]: https://github.com/nedbat/coveragepy/issues/1746

## usage

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

in `.coveragerc`:

```ini
[run]
plugins =
    covdefaults
    sentry_covdefaults_disable_branch_coverage
```

in `setup.cfg` / `tox.ini`:

```ini
[coverage:run]
plugins =
    covdefaults
    sentry_covdefaults_disable_branch_coverage
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/getsentry/sentry-covdefaults-disable-branch-coverage",
    "name": "sentry-covdefaults-disable-branch-coverage",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Sentry",
    "author_email": "oss@sentry.io",
    "download_url": "https://files.pythonhosted.org/packages/1c/df/33226c4b784b5a0df13e53f9ea0a59dfa9f2a2b8e27bfd71f818770d5f50/sentry_covdefaults_disable_branch_coverage-1.0.2.tar.gz",
    "platform": null,
    "description": "sentry-covdefaults-disable-branch-coverage\n==========================================\n\ndisables `run:branch` for coverage (enabled by default with covdefaults)\n\n## installation\n\n```bash\npip install sentry-covdefaults-disable-branch-coverage\n```\n\n## why?\n\nbranch coverage is extremely slow until [this issue] is solved\n\n[covdefaults] always sets `run:branch = true`\n\nthis is a hack to disable `run:branch` (by ordering this plugin after `covdefaults`)\n\n[covdefaults]: https://github.com/asottile/covdefaults\n[this issue]: https://github.com/nedbat/coveragepy/issues/1746\n\n## usage\n\nto enable the plugin, add it after `covdefaults` in your coverage plugins\n\nin `.coveragerc`:\n\n```ini\n[run]\nplugins =\n    covdefaults\n    sentry_covdefaults_disable_branch_coverage\n```\n\nin `setup.cfg` / `tox.ini`:\n\n```ini\n[coverage:run]\nplugins =\n    covdefaults\n    sentry_covdefaults_disable_branch_coverage\n```\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "disables `run:branch` for coverage (enabled by default with covdefaults)",
    "version": "1.0.2",
    "project_urls": {
        "Homepage": "https://github.com/getsentry/sentry-covdefaults-disable-branch-coverage"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e864aad4c0427b50b331beff0e2e831762fb82b7b3c6a8c2da7f67db9437ff2a",
                "md5": "df89a750a85790039077f9f3475a6f78",
                "sha256": "20dcf7eec520f45d70402af0d3aecc7e0e1dc1bf0e4a0e03061797525eb99992"
            },
            "downloads": -1,
            "filename": "sentry_covdefaults_disable_branch_coverage-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "df89a750a85790039077f9f3475a6f78",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 6488,
            "upload_time": "2024-11-21T17:42:26",
            "upload_time_iso_8601": "2024-11-21T17:42:26.847936Z",
            "url": "https://files.pythonhosted.org/packages/e8/64/aad4c0427b50b331beff0e2e831762fb82b7b3c6a8c2da7f67db9437ff2a/sentry_covdefaults_disable_branch_coverage-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1cdf33226c4b784b5a0df13e53f9ea0a59dfa9f2a2b8e27bfd71f818770d5f50",
                "md5": "b40856755ef163a94a35e525266f7022",
                "sha256": "6ce658a6cf7e7fe865caa52f1b1f60c2330e126f5629608fbbd00637db1838d1"
            },
            "downloads": -1,
            "filename": "sentry_covdefaults_disable_branch_coverage-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "b40856755ef163a94a35e525266f7022",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 5853,
            "upload_time": "2024-11-21T17:42:28",
            "upload_time_iso_8601": "2024-11-21T17:42:28.355340Z",
            "url": "https://files.pythonhosted.org/packages/1c/df/33226c4b784b5a0df13e53f9ea0a59dfa9f2a2b8e27bfd71f818770d5f50/sentry_covdefaults_disable_branch_coverage-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-21 17:42:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "getsentry",
    "github_project": "sentry-covdefaults-disable-branch-coverage",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "sentry-covdefaults-disable-branch-coverage"
}
        
Elapsed time: 0.41351s