Calling an additional shell lint command from zuul

The '.sh' files are examined by bashate but now the linters
command will also run a shellcheck on them.

The majority of the shellcheck errors that are failing
have been suppressed, and can be updated and fixed by
subsequent submissions.

Shell scripts that do not end in .sh will also be examined
by bashate and shellcheck.

Story: 2008943
Task: 42566
Signed-off-by: albailey <Al.Bailey@windriver.com>
Change-Id: Ie5c58ec9391ed76bfe34b3544972306341fafcc4
This commit is contained in:
albailey
2021-05-25 13:26:46 -05:00
parent 012939c43a
commit 47b391782f
2 changed files with 112 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
hacking>=1.1.0,<=2.0.0 # Apache-2.0
bashate >= 0.2
PyYAML >= 3.1.0
shellcheck-py;python_version>="3.0" # MIT
yamllint<1.26.1;python_version>="3.0" # GPLv2