-
Notifications
You must be signed in to change notification settings - Fork 677
New issue
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
jinja[readability]: Require/Fix |
be surrounded by spaces
#2120
Labels
new rule
A request for a new rule
Comments
nirmal-j-patel
added a commit
to nirmal-j-patel/ansible-lint
that referenced
this issue
May 27, 2022
Created a new class FilterSurroundedBySpacesRule which checks whether the | character is surrounded by white spaces. Added experimental tag to the rule. Addresses ansible#2120
RE reformatting, we can use jinja's internals to ensure the meaning isn't changed |
|
be surrounded by spaces|
be surrounded by spaces
Kudos for @bcoca for suggesting:
|
ssbarnea
added a commit
to ssbarnea/ansible-lint
that referenced
this issue
Aug 18, 2022
This change rewrites jinja2 rule to make it use jinaja lex parser and avoid use of regexes for parsing, as they cause too many false positives. Fixes: ansible#2301 ansible#2285 ansible#2241 ansible#2209 ansible#2208 ansible#2120
ssbarnea
added a commit
to ssbarnea/ansible-lint
that referenced
this issue
Aug 18, 2022
This change rewrites jinja2 rule to make it use jinaja lex parser and avoid use of regexes for parsing, as they cause too many false positives. Fixes: ansible#2301 ansible#2285 ansible#2241 ansible#2209 ansible#2208 ansible#2120
ssbarnea
added a commit
to ssbarnea/ansible-lint
that referenced
this issue
Aug 18, 2022
This change rewrites jinja2 rule to make it use jinaja lex parser and avoid use of regexes for parsing, as they cause too many false positives. Fixes: ansible#2301 ansible#2285 ansible#2241 ansible#2209 ansible#2208 ansible#2120
ssbarnea
added a commit
to ssbarnea/ansible-lint
that referenced
this issue
Aug 20, 2022
This change rewrites jinja2 rule to make it use jinaja lex parser and avoid use of regexes for parsing, as they cause too many false positives. Fixes: ansible#2301 ansible#2285 ansible#2241 ansible#2209 ansible#2208 ansible#2120
ssbarnea
added a commit
to ssbarnea/ansible-lint
that referenced
this issue
Aug 20, 2022
This change rewrites jinja2 rule to make it use jinaja lex parser and avoid use of regexes for parsing, as they cause too many false positives. Fixes: ansible#2301 ansible#2285 ansible#2241 ansible#2209 ansible#2208 ansible#2120
ssbarnea
added a commit
to ssbarnea/ansible-lint
that referenced
this issue
Aug 20, 2022
This change rewrites jinja2 rule to make it use jinaja lex parser and avoid use of regexes for parsing, as they cause too many false positives. Fixes: ansible#2301 ansible#2285 ansible#2241 ansible#2209 ansible#2208 ansible#2120
ssbarnea
added a commit
to ssbarnea/ansible-lint
that referenced
this issue
Aug 20, 2022
This change rewrites jinja2 rule to make it use jinaja lex parser and avoid use of regexes for parsing, as they cause too many false positives. Fixes: ansible#2301 ansible#2285 ansible#2241 ansible#2209 ansible#2208 ansible#2120
ssbarnea
added a commit
to ssbarnea/ansible-lint
that referenced
this issue
Aug 20, 2022
This change rewrites jinja2 rule to make it use jinaja lex parser and avoid use of regexes for parsing, as they cause too many false positives. Fixes: ansible#2301 ansible#2285 ansible#2241 ansible#2209 ansible#2208 ansible#2120
ssbarnea
added a commit
to ssbarnea/ansible-lint
that referenced
this issue
Aug 20, 2022
This change rewrites jinja2 rule to make it use jinaja lex parser and avoid use of regexes for parsing, as they cause too many false positives. Fixes: ansible#2301 ansible#2285 ansible#2241 ansible#2209 ansible#2208 ansible#2120
ssbarnea
added a commit
to ssbarnea/ansible-lint
that referenced
this issue
Aug 20, 2022
This change rewrites jinja2 rule to make it use jinaja lex parser and avoid use of regexes for parsing, as they cause too many false positives. Fixes: ansible#2301 ansible#2285 ansible#2241 ansible#2209 ansible#2208 ansible#2120
ssbarnea
added a commit
to ssbarnea/ansible-lint
that referenced
this issue
Aug 21, 2022
This change rewrites jinja2 rule to make it use jinaja lex parser and avoid use of regexes for parsing, as they cause too many false positives. Fixes: ansible#2301 ansible#2285 ansible#2241 ansible#2209 ansible#2208 ansible#2120
ssbarnea
added a commit
to ssbarnea/ansible-lint
that referenced
this issue
Aug 21, 2022
This change rewrites jinja2 rule to make it use jinaja lex parser and avoid use of regexes for parsing, as they cause too many false positives. Fixes: ansible#2301 ansible#2285 ansible#2241 ansible#2209 ansible#2208 ansible#2120
ssbarnea
added a commit
to ssbarnea/ansible-lint
that referenced
this issue
Aug 21, 2022
This change rewrites jinja2 rule to make it use jinaja lex parser and avoid use of regexes for parsing, as they cause too many false positives. Fixes: ansible#2301 ansible#2285 ansible#2241 ansible#2209 ansible#2208 ansible#2120
ssbarnea
added a commit
to ssbarnea/ansible-lint
that referenced
this issue
Aug 21, 2022
This change rewrites jinja2 rule to make it use jinaja lex parser and avoid use of regexes for parsing, as they cause too many false positives. Fixes: ansible#2301 ansible#2285 ansible#2241 ansible#2209 ansible#2208 ansible#2120
ssbarnea
added a commit
to ssbarnea/ansible-lint
that referenced
this issue
Aug 22, 2022
This change rewrites jinja2 rule to make it use jinaja lex parser and avoid use of regexes for parsing, as they cause too many false positives. Fixes: ansible#2301 ansible#2285 ansible#2241 ansible#2209 ansible#2208 ansible#2120
ssbarnea
added a commit
that referenced
this issue
Aug 22, 2022
Repository owner
moved this from Backlog
to Done
in ansible-lint --fix
Aug 22, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
|
should be surrounded by spaces for readability:Bad:
Good:
The text was updated successfully, but these errors were encountered: