Allow overriding skip_covered under the html section · Issue #1090 · nedbat/coveragepy (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@gaborbernat

Description

@gaborbernat

For a terminal report to not show fully covered lines, one can set skip_covered to True. For HTML reports though you do want to report on all files, so you can see what covers what. Would be good to be able to specify this configuration scenario via the config only, perhaps by allowing to override coverage:report skip_covered under coverage:html. Currently, you can only override via the CLI, but for example in pytest-cov these flags are not exposed to alter.

PS. pytest-cov ticket solution for this pytest-dev/pytest-cov#449