Add voting tox-linters job

Also remove bashate from the linters job and the placeholder shell script
as there are normally no shell scripts in this repo.

Change-Id: I41f86245f5809471f894b18a7fa320c938f9e861
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
This commit is contained in:
Dean Troyer 2018-07-09 15:11:15 -05:00
parent 01f3717f86
commit 76f5066428
3 changed files with 2 additions and 10 deletions

View File

@ -2,7 +2,9 @@
- project:
check:
jobs:
- openstack-tox-linters
- openstack-tox-pep8
gate:
jobs:
- openstack-tox-linters
- openstack-tox-pep8

View File

@ -1,3 +0,0 @@
#!/bin/sh
echo "Update this file to run lint activities outside of tox"

View File

@ -15,13 +15,6 @@ deps = -r{toxinidir}/test-requirements.txt
[testenv:linters]
whitelist_externals = bash
commands =
bash -c "find {toxinidir} \
-not \( -type d -name .?\* -prune \) \
-type f \
-not -name \*~ \
-not -name \*.md \
-name \*.sh \
-print0 | xargs -0 bashate -v"
bash -c "find {toxinidir} \
\( -name middleware/io-monitor/recipes-common/io-monitor/io-monitor/io_monitor/test-tools/yaml/* -prune \) \
-o \( -name .tox -prune \) \