Fix a random tox linters failure in bashate
There was a file that was missing a newline which would cause bashate to fail. However the bashate command was being run as a list of inputs rather than as individual files, so that error was being ignored unless that bad file was the last file processed. This submission fixes the file, and ensures that tox linters job will fail is any file has an error, regardless of what is processed afterwards. Change-Id: I7587b7017b6855aad63dfaeaea5ecca0bcfc21ea Closes-Bug: 1890287 Signed-off-by: albailey <Al.Bailey@windriver.com>
This commit is contained in:
parent
5c24844b84
commit
fc8b109ef0
|
@ -49,4 +49,4 @@ for part_number in "${part_numbers[@]}"; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
log "Valid platform-backup partition not found"
|
log "Valid platform-backup partition not found"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -24,7 +24,7 @@ commands =
|
||||||
-not -name \*~ \
|
-not -name \*~ \
|
||||||
-not -name \*.md \
|
-not -name \*.md \
|
||||||
-name \*.sh \
|
-name \*.sh \
|
||||||
-print0 | xargs -0 bashate -v -e E* \
|
-print0 | xargs -r -n 1 -0 bashate -v -e E* \
|
||||||
-i E006,E010"
|
-i E006,E010"
|
||||||
|
|
||||||
bash -c "find {toxinidir} \
|
bash -c "find {toxinidir} \
|
||||||
|
|
Loading…
Reference in New Issue