forked from nedbat/coveragepy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into kevin-brown-nedbatGH-1541
- Loading branch information
Showing
5 changed files
with
37 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -234,4 +234,5 @@ More information | |
trouble | ||
faq | ||
Change history <changes> | ||
migrating | ||
sleepy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 | ||
.. For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt | ||
.. _migrating: | ||
|
||
========================== | ||
Migrating between versions | ||
========================== | ||
|
||
New major versions of coverage.py might require you to adjust your settings, | ||
options, or other aspects of your use. This page details those changes. | ||
|
||
.. _migrating_6x_7x: | ||
|
||
Migrating from 6.x to 7.x | ||
------------------------- | ||
|
||
- The way that wildcards when specifying file paths work in certain cases has changed in 7.x: | ||
|
||
- Previously, ``*`` would incorrectly match directory separators, making | ||
precise matching difficult. Patterns such as ``*tests/*`` | ||
will need to be changed to ``*/tests/*``. | ||
|
||
- ``**`` now matches any number of nested directories. If you wish to retain the behavior of | ||
``**/tests/*`` in previous versions then ``*/**/tests/*`` can be used instead. | ||
|
||
- When remapping file paths with ``[paths]``, a path will be remapped only if | ||
the resulting path exists. Ensure that remapped ``[paths]`` exist when upgrading | ||
as this is now being enforced. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters