A number of changes have been made to file path handling, including pattern
matching and path remapping with the [paths] setting (see
:ref:config_paths). These changes might affect you, and require you to
update your settings.
(This release includes the changes from 6.6.0b1 <changes_6-6-0b1_>_, since
6.6.0 was never released.)
Changes to file pattern matching, which might require updating your
configuration:
Previously, * would incorrectly match directory separators, making
precise matching difficult. This is now fixed, closing issue 1407_.
Now ** matches any number of nested directories, including none.
Improvements to combining data files when using the
:ref:config_run_relative_files setting, which might require updating your
configuration:
During coverage combine, relative file paths are implicitly combined
without needing a [paths] configuration setting. This also fixed
issue 991_.
A [paths] setting like */foo will now match foo/bar.py so that
relative file paths can be combined more easily.
The :ref:config_run_relative_files setting is properly interpreted in
more places, fixing issue 1280_.
When remapping file paths with [paths], a path will be remapped only if
the resulting path exists. The documentation has long said the prefix had to
exist, but it was never enforced. This fixes issue 608, improves issue 649, and closes issue 757_.
Reporting operations now implicitly use the [paths] setting to remap file
paths within a single data file. Combining multiple files still requires the
coverage combine step, but this simplifies some single-file situations.
Closes issue 1212_ and issue 713_.
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 6.2 to 7.0.0.
Changelog
Sourced from coverage's changelog.
... (truncated)
Commits
df3f2bf
docs: latest sample HTML report52b5680
docs: prep for 7.0.0be5f556
chore: make upgraded20c1d0
docs: #1024 was also fixed5feb451
chore: make upgrade84749fd
build: use tox.pip to ensure all tox pins are the same3cd0bc6
test: this was wrong?c053b7f
chore: make upgrade7e0e072
build: a target to summarizemake upgrade
18681c4
build: this link could be useful in the futureDependabot 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)