coveragepy icon indicating copy to clipboard operation
coveragepy copied to clipboard

How to exclude external packages from coverage report when using coverage.py API ?

Open AkashKumar7902 opened this issue 1 year ago • 1 comments

when I use coverage.py API, it includes the coverage report for the external packages too.

For example:

    /usr/lib/python3/dist-packages/yaml/reader.py:
    - 135
    - 139
    - 140
    - 147
    - 148

I don't want to include external packages in my coverage report.

AkashKumar7902 avatar Feb 07 '24 07:02 AkashKumar7902