-
Notifications
You must be signed in to change notification settings - Fork 217
Description
Summary
In jaraco/skeleton, I've configured my projects to ignore .tox for coverage. Despite this setting, I often see .tox
in the coverage results. (example).
Not all projects are affected. Some show a report without tox (using the same config).
Note the tox lines do appear to implicate black or virtualenv (especially as 'click' is mentioned).
Expected vs actual result
Expect .tox
to be omitted as indicated.
Reproducer
I've tried reproducing the issue in a minimal repo, and I can get the .tox
results to appear if I run tests on a simple repo with only pytest-cov
and pytest-black
installed and enabled. But in that case, when I add the .coveragerc file, .tox
disappears from the report, as expected. So there's something else about the projects that's causing the .coveragerc
to be ignored. Note also that omitting pytest-black
causes the .tox
lines to be omitted.
Versions
See example above for one configuration (using latest version of everything), but it affects lots of versions and libraries.
Config
See jaraco/cssutils for one affected project.
Any advice on how I can troubleshoot further, to narrow the cause?