diff --git a/.zuul.yaml b/.zuul.yaml index 7ccbd0a6..3a27ad8b 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -2,7 +2,9 @@ - project: check: jobs: - - openstack-tox-linters + - openstack-tox-linters: + voting: false gate: jobs: - - openstack-tox-linters + - openstack-tox-linters: + voting: false diff --git a/test-requirements.txt b/test-requirements.txt index 266f880b..4dfcd348 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,2 +1,3 @@ +bashate >= 0.2 PyYAML>=3.1.0 yamllint>=0.5.2 diff --git a/tox.ini b/tox.ini index 4e2fa48d..0e4f4f83 100644 --- a/tox.ini +++ b/tox.ini @@ -19,6 +19,13 @@ commands = \( -name .tox -prune \) \ -o -type f -name '*.yaml' \ -print0 | xargs -0 yamllint" + bash -c "find {toxinidir} \ + -not \( -type d -name .?\* -prune \) \ + -type f \ + -not -name \*~ \ + -not -name \*.md \ + -name \*.sh \ + -print0 | xargs -0 bashate -v" [testenv:venv] commands = {posargs}