From 332413deb851b48010cbfdb9de6be7dba2c67145 Mon Sep 17 00:00:00 2001 From: Roald Nefs Date: Tue, 22 Oct 2019 19:33:29 +0200 Subject: [PATCH] Bump version to v0.0.10 Bump version to v0.0.10, update author in setup.py to Warpnet B.V. and groups jinja rules under the jinja tag. Signed-off-by: Roald Nefs --- saltlint/__init__.py | 4 ++-- saltlint/rules/JinjaCommentHasSpacesRule.py | 2 +- saltlint/rules/JinjaPillarGrainsGetFormatRule.py | 2 +- saltlint/rules/JinjaStatementHasSpacesRule.py | 2 +- saltlint/rules/JinjaVariableHasSpacesRule.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/saltlint/__init__.py b/saltlint/__init__.py index 6d2adc6..a4cc736 100644 --- a/saltlint/__init__.py +++ b/saltlint/__init__.py @@ -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 diff --git a/saltlint/rules/JinjaCommentHasSpacesRule.py b/saltlint/rules/JinjaCommentHasSpacesRule.py index ea4858c..efbe7f4 100644 --- a/saltlint/rules/JinjaCommentHasSpacesRule.py +++ b/saltlint/rules/JinjaCommentHasSpacesRule.py @@ -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"{#[^ \-\+]|{#[\-\+][^ ]|[^ \-\+]#}|[^ ][\-\+]#}") diff --git a/saltlint/rules/JinjaPillarGrainsGetFormatRule.py b/saltlint/rules/JinjaPillarGrainsGetFormatRule.py index e638bbd..88e8271 100644 --- a/saltlint/rules/JinjaPillarGrainsGetFormatRule.py +++ b/saltlint/rules/JinjaPillarGrainsGetFormatRule.py @@ -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\(.+}}") diff --git a/saltlint/rules/JinjaStatementHasSpacesRule.py b/saltlint/rules/JinjaStatementHasSpacesRule.py index 14f3eed..da60159 100644 --- a/saltlint/rules/JinjaStatementHasSpacesRule.py +++ b/saltlint/rules/JinjaStatementHasSpacesRule.py @@ -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"{%[^ \-\+]|{%[\-\+][^ ]|[^ \-\+]%}|[^ ][\-\+]%}") diff --git a/saltlint/rules/JinjaVariableHasSpacesRule.py b/saltlint/rules/JinjaVariableHasSpacesRule.py index d073e20..1b447ba 100644 --- a/saltlint/rules/JinjaVariableHasSpacesRule.py +++ b/saltlint/rules/JinjaVariableHasSpacesRule.py @@ -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"{{[^ \-\+]|{{[-\+][^ ]|[^ \-\+]}}|[^ ][-\+]}}")