Ned Batchelder
Ned Batchelder
This is related to #367 and #378.
Thanks for bring this to back to my attention, and sorry for letting it languish. Definitely one thing is needed to fix this: if `relative_files=True`, then an entry in `[paths]`...
Actually, we don't even need the change in my diff if `*/foo` will match `foo/bar/baz.etc`.
@freakboy3742 are you using the `[paths]` setting to help combine files from different machines? I didn't see it in your branch for https://github.com/beeware/briefcase/pull/887. When combining, we try to adjust the...
I've made some changes on a branch: ``` pip install git+https://github.com/nedbat/coveragepy@nedbat/bug991 ``` @cjolowicz This should make your code combine and report correctly as-is. @freakboy3742 Can you add this to your...
Perhaps this should be more automatic, since `src = ["src", "*/src"]` seems kind of self-evident in a way.
@altendky thanks for looking into it. Can you add `--debug=pathmap` to the `coverage combine` step? It will show the file names it is considering, and how the get remapped.
@altendky I see what happened. The earlier discussion was about a pyproject.toml file, and you put that snippet into your .coveragerc file. The syntax you need is different: ``` [paths]...
Hi, I've added more to the nedbat/bug991 branch (commit 285ca254). Now relative paths will be combined implicitly, so you shouldn't need "obvious" `[paths]` configurations anymore. @freakboy3742 @altendky can you try...
@freakboy3742 hmm, i've been running your project as a test, that's odd. Can you try these commands? ``` python -m coverage debug data python -m coverage combine --debug=pathmap python -m...