Skip to content

Commit

Permalink
Merge pull request #71 from warpnet/v0.0.10
Browse files Browse the repository at this point in the history
 Version 0.0.10 Release
  • Loading branch information
roaldnefs authored Oct 23, 2019
2 parents 9ec7399 + 332413d commit a1add02
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions saltlint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"""

NAME = 'salt-lint'
VERSION = '0.0.9'
VERSION = '0.0.10'
DESCRIPTION = __doc__

__author__ = 'Roald Nefs'
__author__ = 'Warpnet B.V.'
__license__ = 'MIT'
__version__ = VERSION
2 changes: 1 addition & 1 deletion saltlint/rules/JinjaCommentHasSpacesRule.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class JinjaCommentHasSpacesRule(SaltLintRule):
shortdesc = 'Jinja comment should have spaces before and after: {# comment #}'
description = 'Jinja comment should have spaces before and after: ``{# comment #}``'
severity = 'LOW'
tags = ['formatting']
tags = ['formatting', 'jinja']
version_added = 'v0.0.5'

bracket_regex = re.compile(r"{#[^ \-\+]|{#[\-\+][^ ]|[^ \-\+]#}|[^ ][\-\+]#}")
Expand Down
2 changes: 1 addition & 1 deletion saltlint/rules/JinjaPillarGrainsGetFormatRule.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class JinjaPillarGrainsGetFormatRule(SaltLintRule):
" like salt['pillar.get']('item') or grains['item1']"
severity = 'HIGH'
tags = ['formatting', 'jinja']
version_added = 'develop'
version_added = 'v0.0.10'

bracket_regex = re.compile(r"{{( |\-|\+)?.(pillar|grains).get\(.+}}")

Expand Down
2 changes: 1 addition & 1 deletion saltlint/rules/JinjaStatementHasSpacesRule.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class JinjaStatementHasSpacesRule(SaltLintRule):
shortdesc = 'Jinja statement should have spaces before and after: {% statement %}'
description = 'Jinja statement should have spaces before and after: ``{% statement %}``'
severity = 'LOW'
tags = ['formatting']
tags = ['formatting', 'jinja']
version_added = 'v0.0.2'

bracket_regex = re.compile(r"{%[^ \-\+]|{%[\-\+][^ ]|[^ \-\+]%}|[^ ][\-\+]%}")
Expand Down
2 changes: 1 addition & 1 deletion saltlint/rules/JinjaVariableHasSpacesRule.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class JinjaVariableHasSpacesRule(SaltLintRule):
shortdesc = 'Jinja variables should have spaces before and after: {{ var_name }}'
description = 'Jinja variables should have spaces before and after: ``{{ var_name }}``'
severity = 'LOW'
tags = ['formatting']
tags = ['formatting', 'jinja']
version_added = 'v0.0.1'

bracket_regex = re.compile(r"{{[^ \-\+]|{{[-\+][^ ]|[^ \-\+]}}|[^ ][-\+]}}")
Expand Down

0 comments on commit a1add02

Please sign in to comment.