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
Some zuul nodes running bionic do not consider the
older version of pyflakes to be installable. This seems to
be a cache issue.
This fix updates the version of hacking defined in the top
level test-requirements.txt file to use a more modern version.
It also only imports yamllint if it is python 3, since the yamllint
tox target is python 3 only.
Partial-Bug: 1928978
Signed-off-by: albailey <Al.Bailey@windriver.com>
Change-Id: Ia7aa6a296810adc0d9ba9eca701ec70f2c4be8cd
hacking and flake8 have compatability issues.
By specifying the version of hacking to be the same
as what other openstack components are using, we
clamp the version of flake8 and allow for reliable
hacking checks.
Change-Id: I8ab1543c030439903d99fffec1a9e3a264f20a80
Story: 2004515
Task: 28571
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>