diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2022-11-28 10:12:56 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-11-29 20:08:48 -0500 |
| commit | 7e7c44b4f5c484105559690b1efccd84839bc640 (patch) | |
| tree | aa91b46a3a986ba9ee1b6375e13e1c780f851714 /doc | |
| parent | e955f106134029e2b8991a3ad1299377b73a0e55 (diff) | |
| download | python-coveragepy-git-7e7c44b4f5c484105559690b1efccd84839bc640.tar.gz | |
feat: file paths are only remapped if the result exists
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/config.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/config.rst b/doc/config.rst index b387deb5..90949506 100644 --- a/doc/config.rst +++ b/doc/config.rst @@ -344,7 +344,9 @@ combined with data for "c:\\myproj\\src\\module.py", and will be reported against the source file found at "src/module.py". If you specify more than one list of paths, they will be considered in order. -The first list that has a match will be used. +A file path will only be remapped if the result exists. If a path matches a +list, but the result doesn't exist, the next list will be tried. The first +list that has an existing result will be used. Remapping will also be done during reporting, but only within the single data file being reported. Combining multiple files requires the ``combine`` |
