Added a new setting [report] exclude_also to let you add more exclusions
without overwriting the defaults. Thanks, Alpha Chen <pull 1557_>,
closing issue 1391.
Added a :meth:.CoverageData.purge_files method to remove recorded data for
a particular file. Contributed by Stephan Deibel <pull 1547_>_.
Fix: when reporting commands fail, they will no longer congratulate
themselves with messages like "Wrote XML report to file.xml" before spewing a
traceback about their failure.
Fix: arguments in the public API that name file paths now accept pathlib.Path
objects. This includes the data_file and config_file arguments to
the Coverage constructor and the basename argument to CoverageData.
Closes issue 1552_.
Fix: In some embedded environments, an IndexError could occur on stop() when
the originating thread exits before completion. This is now fixed, thanks to
Russell Keith-Magee <pull 1543_>, closing issue 1542.
Added a py.typed file to announce our type-hintedness. Thanks,
KotlinIsland <pull 1550_>_.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
> **Note**
> Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Updates the requirements on coverage to permit the latest version.
Changelog
Sourced from coverage's changelog.
... (truncated)
Commits
9fcf1d6
docs: sample html for 7.2.1795a56a
docs: prep for 7.2.1fe807db
docs: build steps need to make a release-prep branch soonerc3a3421
fix: export our public names for type checking. #1564f217d0d
refactor: remove unneeded pydoc weirdness857833e
fix: always use full-version rtfd links #15662f81370
fix(docs): wrong link syntax808daea
chore: make upgradee2e9d6e
build: bump versionb14e7f4
docs: latest sample html reportYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)