diff --git a/lib/saltlint/rules/JinjaCommentHasSpacesRule.py b/lib/saltlint/rules/JinjaCommentHasSpacesRule.py
index 7b7c468..2253cdb 100644
--- a/lib/saltlint/rules/JinjaCommentHasSpacesRule.py
+++ b/lib/saltlint/rules/JinjaCommentHasSpacesRule.py
@@ -14,7 +14,7 @@ class JinjaCommentHasSpacesRule(SaltLintRule):
     tags = ['formatting']
     version_added = 'v0.0.5'
 
-    bracket_regex = re.compile(r"{#[^ -]|{#-[^ ]|[^ -]#}|[^ ]-#}")
+    bracket_regex = re.compile(r"{#[^ \-\+]|{#[\-\+][^ ]|[^ \-\+]#}|[^ ][\-\+]#}")
 
     def match(self, file, line):
         return self.bracket_regex.search(line)
diff --git a/lib/saltlint/rules/JinjaStatementHasSpacesRule.py b/lib/saltlint/rules/JinjaStatementHasSpacesRule.py
index 327cca7..80fa45f 100644
--- a/lib/saltlint/rules/JinjaStatementHasSpacesRule.py
+++ b/lib/saltlint/rules/JinjaStatementHasSpacesRule.py
@@ -14,7 +14,7 @@ class JinjaStatementHasSpacesRule(SaltLintRule):
     tags = ['formatting']
     version_added = 'v0.0.2'
 
-    bracket_regex = re.compile(r"{%[^ -]|{%-[^ ]|[^ -]%}|[^ ]-%}")
+    bracket_regex = re.compile(r"{%[^ \-\+]|{%[\-\+][^ ]|[^ \-\+]%}|[^ ][\-\+]%}")
 
     def match(self, file, line):
         return self.bracket_regex.search(line)
diff --git a/lib/saltlint/rules/JinjaVariableHasSpacesRule.py b/lib/saltlint/rules/JinjaVariableHasSpacesRule.py
index fe808f8..67da64d 100644
--- a/lib/saltlint/rules/JinjaVariableHasSpacesRule.py
+++ b/lib/saltlint/rules/JinjaVariableHasSpacesRule.py
@@ -14,7 +14,7 @@ class JinjaVariableHasSpacesRule(SaltLintRule):
     tags = ['formatting']
     version_added = 'v0.0.1'
 
-    bracket_regex = re.compile(r"{{[^ -]|{{-[^ ]|[^ -]}}|[^ ]-}}")
+    bracket_regex = re.compile(r"{{[^ \-\+]|{{[-\+][^ ]|[^ \-\+]}}|[^ ][-\+]}}")
 
     def match(self, file, line):
         return self.bracket_regex.search(line)

Fix whitespace control in Jinja rules
Currently only the `-` character is accepted by the Jinja whitespace rules but technically `+` should be supported as well, i.e.:

    {%+ ... +%}
    {{+ ... +}}
    {#+ ... +#}

That's mentioned in the [upstream documentation](https://jinja.palletsprojects.com/en/2.10.x/templates/#whitespace-control) as well.

Thanks @myii, for mentioning this is 
https://github.com/roaldnefs/salt-lint/pull/13#issuecomment-538547711!
diff --git a/tests/unit/TestJinjaCommentHasSpaces.py b/tests/unit/TestJinjaCommentHasSpaces.py
index 16ddb2f..6e2ae54 100644
--- a/tests/unit/TestJinjaCommentHasSpaces.py
+++ b/tests/unit/TestJinjaCommentHasSpaces.py
@@ -10,11 +10,11 @@ from tests import RunFromText
 
 
 GOOD_COMMENT_LINE = '''
-{#- set example='good' -#}
+{#- set example='good' +#}
 '''
 
 BAD_COMMENT_LINE = '''
-{#-set example='bad'-#}
+{#-set example='bad'+#}
 '''
 
 class TestLineTooLongRule(unittest.TestCase):
diff --git a/tests/unit/TestJinjaStatementHasSpaces.py b/tests/unit/TestJinjaStatementHasSpaces.py
index 56f59c8..cf81c2e 100644
--- a/tests/unit/TestJinjaStatementHasSpaces.py
+++ b/tests/unit/TestJinjaStatementHasSpaces.py
@@ -10,11 +10,11 @@ from tests import RunFromText
 
 
 GOOD_STATEMENT_LINE = '''
-{%- set example='good' -%}
+{%- set example='good' +%}
 '''
 
 BAD_STATEMENT_LINE = '''
-{%-set example='bad'-%}
+{%-set example='bad'+%}
 '''
 
 class TestLineTooLongRule(unittest.TestCase):
diff --git a/tests/unit/TestJinjaVariableHasSpaces.py b/tests/unit/TestJinjaVariableHasSpaces.py
index 9c537e0..5e27b09 100644
--- a/tests/unit/TestJinjaVariableHasSpaces.py
+++ b/tests/unit/TestJinjaVariableHasSpaces.py
@@ -10,11 +10,11 @@ from tests import RunFromText
 
 
 GOOD_VARIABLE_LINE = '''
-{{- variable -}}
+{{- variable +}}
 '''
 
 BAD_VARIABLE_LINE = '''
-{{-variable-}}
+{{-variable+}}
 '''
 
 class TestLineTooLongRule(unittest.TestCase):

pip install -e .
parse_log_pytest
pytest
nose flake8 pytest
apt-get update apt-get install -y gcc
3.6
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
certifi==2021.5.30
charset-normalizer==2.0.12
contextvars==2.4
distro==1.9.0
flake8==5.0.4
idna==3.10
immutables==0.19
importlib-metadata==4.2.0
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
Jinja2==3.0.3
jmespath==0.10.0
looseversion==1.3.0
MarkupSafe==2.0.1
mccabe==0.7.0
more-itertools @ file:///tmp/build/80754af9/more-itertools_1637733554872/work
msgpack==1.0.5
nose==1.3.7
packaging @ file:///tmp/build/80754af9/packaging_1637314298585/work
pluggy @ file:///tmp/build/80754af9/pluggy_1615976315926/work
psutil==7.0.0
py @ file:///opt/conda/conda-bld/py_1644396412707/work
pycodestyle==2.9.1
pycryptodomex==3.21.0
pyflakes==2.5.0
pyparsing @ file:///tmp/build/80754af9/pyparsing_1635766073266/work
pytest==6.2.4
PyYAML==6.0.1
pyzmq==25.0.2
requests==2.27.1
salt==3006.6
-e git+https://github.com/roaldnefs/salt-lint.git@025a8e7dc451ed76f34cdb25a73146ab6efe1be1#egg=salt_lint
six==1.17.0
toml @ file:///tmp/build/80754af9/toml_1616166611790/work
typing_extensions @ file:///opt/conda/conda-bld/typing_extensions_1647553014482/work
urllib3==1.26.20
zipp @ file:///tmp/build/80754af9/zipp_1633618647012/work

name: salt-lint
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - attrs=21.4.0=pyhd3eb1b0_0
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - importlib_metadata=4.8.1=hd3eb1b0_0
  - iniconfig=1.1.1=pyhd3eb1b0_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - more-itertools=8.12.0=pyhd3eb1b0_0
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - packaging=21.3=pyhd3eb1b0_0
  - pip=21.2.2=py36h06a4308_0
  - pluggy=0.13.1=py36h06a4308_0
  - py=1.11.0=pyhd3eb1b0_0
  - pyparsing=3.0.4=pyhd3eb1b0_0
  - pytest=6.2.4=py36h06a4308_2
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - toml=0.10.2=pyhd3eb1b0_0
  - typing_extensions=4.1.1=pyh06a4308_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zipp=3.6.0=pyhd3eb1b0_0
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - charset-normalizer==2.0.12
      - contextvars==2.4
      - distro==1.9.0
      - flake8==5.0.4
      - idna==3.10
      - immutables==0.19
      - importlib-metadata==4.2.0
      - jinja2==3.0.3
      - jmespath==0.10.0
      - looseversion==1.3.0
      - markupsafe==2.0.1
      - mccabe==0.7.0
      - msgpack==1.0.5
      - nose==1.3.7
      - psutil==7.0.0
      - pycodestyle==2.9.1
      - pycryptodomex==3.21.0
      - pyflakes==2.5.0
      - pyyaml==6.0.1
      - pyzmq==25.0.2
      - requests==2.27.1
      - salt==3006.6
      - six==1.17.0
      - urllib3==1.26.20
prefix: /opt/conda/envs/salt-lint

tests/unit/TestJinjaCommentHasSpaces.py::TestLineTooLongRule::test_comment_positive tests/unit/TestJinjaStatementHasSpaces.py::TestLineTooLongRule::test_statement_positive tests/unit/TestJinjaVariableHasSpaces.py::TestLineTooLongRule::test_statement_positive
tests/unit/TestJinjaCommentHasSpaces.py::TestLineTooLongRule::test_comment_negative tests/unit/TestJinjaStatementHasSpaces.py::TestLineTooLongRule::test_statement_negative tests/unit/TestJinjaVariableHasSpaces.py::TestLineTooLongRule::test_statement_negative
lib/saltlint/rules/JinjaStatementHasSpacesRule.py lib/saltlint/rules/JinjaVariableHasSpacesRule.py lib/saltlint/rules/JinjaCommentHasSpacesRule.py
lib/saltlint/rules/JinjaStatementHasSpacesRule.py lib/saltlint/rules/JinjaVariableHasSpacesRule.py lib/saltlint/rules/JinjaCommentHasSpacesRule.py