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_>_.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)
Bumps coverage from 7.1.0 to 7.2.0.
Changelog
Sourced from coverage's changelog.
Commits
b14e7f4
docs: latest sample html report152890c
build: cog moved65dcfc2
docs: prep for 7.2.0cc0c0ea
docs: final paperwork for exclude_also #15572a0e7bc
feat: add extend_exclude option51f395d
test: stricter regex to avoid false CodeQL alarms545d8bc
docs: better mastodon labels, and 3.12a5946e0cf
docs: bye twitter, hello mastodon9c40c3e
docs: keep track of an issue I wrote that this pin avoids7887212
build: pin setuptools to avoid their version-checking bugDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)