Skip to content

Coverage.report() ignores show_missing and skip_covered from config #485

@nedbat

Description

@nedbat

Originally reported by Denis Otkidach (Bitbucket: ods, GitHub: ods)


Arguments show_missing and skip_covered of Coverage.report() have non-None default values that causes parameters with the same name from config overwritten unless you explicitly pass Nones to Coverage.report(). That is the reason why pytest-cov plugin doesn't allow setting these parameters through config file.

Changing default values of show_missing and skip_covered of Coverage.report() method to None solves the problem.


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions