Sitelet https://web.archive.org/web/20200908074029/https://github.com/codecov/codecov-python/issues/227
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marking comments as uncovered #227

Open
rmjarvis opened this issue Jan 29, 2020 · 0 comments
Open

Marking comments as uncovered #227

rmjarvis opened this issue Jan 29, 2020 · 0 comments

Comments

@rmjarvis
Copy link

@rmjarvis rmjarvis commented Jan 29, 2020

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.