We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
if printing strings inside of a {{ statement, the tool complains about jinja-variable-lower-case:
{{
jinja-variable-lower-case
For example:
{{ ' trustGuestRxFilters=\'yes\'' if iftype == 'direct' else '' }}
Results in:
All variables should use lower case: '{{ variable }}': trustGuestRxFilters (jinja-variable-lower-case)
Albeit trustGuestRxFilters not being a variable, but a printed string. The only variable in this line is iftype, which is lower case.
trustGuestRxFilters
iftype
others
None
Create a Jinja template with {{ ' trustGuestRxFilters=\'yes\'' if iftype == 'direct' else '' }}
### Contributing Guide - [X] I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Apologies, I accidentally sent this to the wrong repository. Moved to aristanetworks/j2lint#85.
Sorry, something went wrong.
No branches or pull requests
Issue Summary
Hi,
if printing strings inside of a
{{
statement, the tool complains aboutjinja-variable-lower-case
:For example:
Results in:
Albeit
trustGuestRxFilters
not being a variable, but a printed string. The only variable in this line isiftype
, which is lower case.Which component(s) of AVD impacted
others
How do you run AVD ?
None
Steps to reproduce
Relevant log output
All variables should use lower case: '{{ variable }}': trustGuestRxFilters (jinja-variable-lower-case)
The text was updated successfully, but these errors were encountered: