-
-
Notifications
You must be signed in to change notification settings - Fork 433
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
Allow overriding skip_covered under the html section #1090
Closed
gaborbernat opened this issue
Jan 4, 2021
· 4 comments
· Fixed by zostera/django-bootstrap3#501, CSCfi/oidc-client#35, CSCfi/beacon-python#162 or hypothesis/checkmate#239
Closed
Allow overriding skip_covered under the html section #1090
gaborbernat opened this issue
Jan 4, 2021
· 4 comments
· Fixed by zostera/django-bootstrap3#501, CSCfi/oidc-client#35, CSCfi/beacon-python#162 or hypothesis/checkmate#239
Labels
Comments
I'd like to be able to write this in [tool.coverage.html]
skip_covered = true Thank you! 🙏 |
nedbat
added a commit
that referenced
this issue
Jan 11, 2021
This is implemented in #1099. Does it do what you need? |
nedbat
added a commit
that referenced
this issue
Jan 11, 2021
nedbat
added a commit
that referenced
this issue
Jan 11, 2021
Yes it does! Thank you! That was so fast! 🙏 |
This is now released as part of coverage 5.4. |
This was referenced Mar 13, 2021
This was referenced May 21, 2021
This was referenced Jun 6, 2021
This was referenced Jun 12, 2021
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For a terminal report to not show fully covered lines, one can set skip_covered to True. For HTML reports though you do want to report on all files, so you can see what covers what. Would be good to be able to specify this configuration scenario via the config only, perhaps by allowing to override
coverage:report
skip_covered
undercoverage:html
. Currently, you can only override via the CLI, but for example inpytest-cov
these flags are not exposed to alter.PS. pytest-cov ticket solution for this pytest-dev/pytest-cov#449
The text was updated successfully, but these errors were encountered: