Skip to content

--no-skip-covered to negate --skip-covered #779

Closed
@asottile

Description

@asottile

Is your feature request related to a problem? Please describe.

For test run outputs, I set skip_covered = true in my .coveragerc (for example here). I do this to avoid the terminal spew of the 50+ 100% covered files.

However, for html outputs, I'd still like to have files included when running coverage html, even if they are 100% covered.

Describe the solution you'd like

I think the simplest solution would be to add --no-skip-covered options to the various coverage html / coverage report entrypoints which would override the --skip-covered option.

Describe alternatives you've considered

Not really seriously considered, but sed -i /skip_covered/d .coveragerc before running coverage html -- pretty haxy though ;)

Additional context

I'm mostly trying to target automated CI here, in particular azure pipelines coverage reporting

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions