[Python-Dev] We now have C code coverage!

Ammar Askar ammar at ammaraskar.com
Sun Jun 24 05:03:49 EDT 2018

> Is it possible, given that we are not paying for those reports, to
> customize the 'exclude_lines' definitions?

Do you want to exclude python code or C code?

For C code you can mark sections that exclude coverage in lcov
with comments like "LCOV_EXCL_START"

For Python code, coverage.py also has some comments you can
put down to exclude lines:

If you don't need line level granularity, you can always add files to
ignore in our codecov.yml file:

More information about the Python-Dev mailing list