``` [tool.coverage.run] relative_files = true ``` Otherwise the generated coverage reports (e.g. XML) can contain absolute instead of relative paths. https://coverage.readthedocs.io/en/latest/config.html#run-relative-files