Skip to content

Command line usage - annotate - coverage annotate #1667

Open
@polygamma

Description

@polygamma

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" :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions