coveragepy icon indicating copy to clipboard operation
coveragepy copied to clipboard

Command line usage - annotate - `coverage annotate`

Open polygamma opened this issue 2 years ago • 0 comments

Hey :)

First of all: Thank you very much for your fantastic software! I am now referring to: https://coverage.readthedocs.io/en/7.2.7/cmd.html#cmd-annotate

The annotate command has been obsoleted by more modern reporting tools, including the html command. annotate will be removed in a future version.

I am using your software as follows: https://github.com/polygamma/auv/blob/54a06bca01758109ab710f3c089594a3de4dca15/.github/workflows/main.yml#L24 The result can be seen here: image It's just the sourcecode with each loc marked as executed or not executed (green/red), and that's all I need ;)

Since you want to remove annotate and since I don't want to use a deprecated command, what should I use instead? As I understand it, with html I'm not able to generate such simple text representation of the results.

If I haven't missed anything, there is no simple way for me to achieve what I want to achieve, without using annotate. If that's correct, I kindly ask for "non-removal of annotate" :)

polygamma avatar Aug 06 '23 19:08 polygamma