Skip to content

Ignore lines in templates #70

@mschoettle

Description

@mschoettle

Is it possible to exclude certain lines in templates?

For example:

{% comment "foo" %}
some commented out stuff
{% endcomment %}

This will show up in the report as missing lines.

I tried adding {# pragma: no cover #} but it did not work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions