Skip to content

parse error expectation wrong #144

Open
@iameru

Description

@iameru

Trying out curlylint, using it in pre-commit rev: "v0.13.1"

Im editing some jinja2 templating file. In it I have a block

...
{% for xyz in xyzs %}
    <do>stuff</do>
{% endfor %}

curlylint now complains:

 Parse error: expected one of 'autoescape', 'block', 'blocktrans', 'comment', 'filter', 'for', 'if', 'ifchanged', 'ifequal', 'ifnotequal', 'not an intermediate Jinja tag name', 'spaceless', 'verbatim', 'with' at 24:5     parse_error

jinja2 of course renders just fine.

for now I'll stop using it. Might drop in later again. In case you need more info let me know

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions