Skip to content

issues Search Results · repo:aristanetworks/j2lint language:Python

Filter by

30 results
 (88 ms)

30 results

inaristanetworks/j2lint (press backspace or delete to remove)

Words with hyphens within a string not touching a quote are raising jinja-variable-format false positives: For instance: {{ test with spcial-word in the middle | indent(2, true) }}
  • jccardonar
  • 1
  • Opened 
    on Mar 21, 2024
  • #89

Description The jinja-variable-lower-case rule in j2lint is incorrectly identifies escaped strings as variables. According to the Jinja2 documentation, these strings should be treated as literal strings, ...
enhancement
  • DeadNews
  • 1
  • Opened 
    on Mar 18, 2024
  • #88

Hi, if printing strings inside of a {{ statement, the tool complains about jinja-variable-lower-case: For example: {{ trustGuestRxFilters=\ yes\ if iftype == direct else }} Results in: All ...
enhancement
  • tacerus
  • 2
  • Opened 
    on Dec 31, 2023
  • #85

Support file extensions like .yml or .html that use Jinja2. This could be for example as an extra-argument as a list of allowed file extensions.
  • nikosavola
  • Opened 
    on Jul 26, 2023
  • #66

Required code for python format function: {% set row.line = row.line ~ | {t:{t_width}} .format(t=text, t_width=table.column_width[key]) %} fails with message: template.j2:58 A single space shall be ...
  • kornoa
  • 1
  • Opened 
    on Apr 25, 2023
  • #62

Hello, I can t seem to get the pre-commit hook to respect args passed in, and as such utilize any rules, custom, or built in. --- repos: - repo: https://github.com/aristanetworks/j2lint.git rev: ...
  • netopsengineer
  • 2
  • Opened 
    on Mar 15, 2023
  • #60

cf: https://github.com/aristanetworks/j2lint/issues/53#issuecomment-1404697619
  • gmuloc
  • Opened 
    on Jan 26, 2023
  • #58

We re getting errors from using {%- as delimiter in our jinja templates, which from i can understand is valid jinja. I ve looked through the AVD docs and can t seem to find any errors relating to this ...
  • ollz272
  • 3
  • Opened 
    on Jan 10, 2023
  • #53

The cd path is wrong as described: https://github.com/aristanetworks/j2lint#creating-the-environment
  • tgodaA
  • Opened 
    on Jun 21, 2022
  • #42

user% j2lint -i single-space-decorator blah.j2 usage: j2lint [-h] [-i [{jinja-syntax-error,single-space-decorator,operator-enclosed-by-spaces,jinja-statements-single-space,jinja-statements-indentation,jinja-statements-no-tabs,single-statement-per-line,jinja-statements-delimiter,jinja-variable-lower-case,jinja-variable-format,S0,S1,S2,S3,S4,S5,S6,S7,V1,V2} ...
  • gmuloc
  • 3
  • Opened 
    on Jun 13, 2022
  • #40
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub