Treat bashate warnings as errors in linter test

Change-Id: Idafd0fb4be0807356e96d59f57f24d0689132f4a
Story: 2003371
Task: 24755
Signed-off-by: Don Penney <don.penney@windriver.com>
This commit is contained in:
Don Penney 2018-08-17 13:10:29 -05:00
parent fbc75f997e
commit 1dba21cd7d
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ deps = -r{toxinidir}/requirements.txt
whitelist_externals = bash
commands =
bash -c "find {toxinidir} \
-o \( -name .tox -prune \) \
\( -name .tox -prune \) \
-o -type f -name '*.yaml' \
-print0 | xargs --no-run-if-empty -0 yamllint"
bash -c "find {toxinidir} \
@ -28,7 +28,7 @@ commands =
-not -name \*~ \
-not -name \*.md \
-name \*.sh \
-print0 | xargs --no-run-if-empty -0 bashate -v -iE006"
-print0 | xargs --no-run-if-empty -0 bashate -v -e 'E*' -iE006"
[pep8]
# Ignoring these warnings