Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMarking comments as uncovered #227
Open
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Codecov has recently started marking some comment lines as being uncovered. Most commonly right at the start in my copyright notice.
Here is an example: https://codecov.io/gh/rmjarvis/TreeCorr/src/jk2/treecorr/binnedcorr3.py
9 of the first 12 lines (all of which are comments) are pink, and everything below that is either green or white. So the file is marked as having only 96% coverage, rather than 100%.
This seems to have started only in the last few months, and I don't think I changed any of my codecov or .coveragerc settings. But maybe there is something I need to do to one or both of these to tell it to ignore all comment lines? Or is it possibly a bug on your end (I humbly suggest...)?
Thanks for any help you can provide about this!