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:
parent
fbc75f997e
commit
1dba21cd7d
4
tox.ini
4
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue