Open
Description
Is your feature request related to a problem? Please describe.
coverage annotate
has been deprecated, which a suggestion to get in touch if it is still in use.
I don't absolutely need annotate, but it is nice to have for a self-contained solution on CI (not relying on external services such as codecov) for relatively small projects with already high coverage; e.g. one can easily use it to print out just the non-covered lines and their context with something like grep -C2 '^!' **/*,cover
.
Describe the solution you'd like
Undeprecate annotate.
Describe alternatives you've considered
External services such as codecov are always available, of course.
Additional context
N/A
Metadata
Metadata
Assignees
Labels
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
nedbat commentedon Nov 13, 2022
A number of people have written in to say they still use
annotate
. Perhaps I will change the message to something like, "this feature won't get much attention, look into alternatives" or something...vallsv commentedon Dec 20, 2022
Hi.
I use to use this report. That's really useful to improve and tune some tests.
The documentation also talk about taking a look at "alternatives".
But there is none. The
html
report for example is just about statistics.annotate
is a line by line report.My question is, is there alternatives, in case?
nedbat commentedon Dec 20, 2022
Each line in the HTML report is clickable, showing the lines in the file, with more details than are available in the annotate report.
vallsv commentedon Dec 20, 2022
Ah, nice. Thanks for the information.