Merge "Treat bashate warnings as errors in linter test"

This commit is contained in:
Zuul 2018-08-21 18:53:29 +00:00 committed by Gerrit Code Review
commit 9554c0609f
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