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:
parent
01f3717f86
commit
76f5066428
@ -2,7 +2,9 @@
|
||||
- project:
|
||||
check:
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
- openstack-tox-pep8
|
||||
gate:
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
- openstack-tox-pep8
|
||||
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Update this file to run lint activities outside of tox"
|
7
tox.ini
7
tox.ini
@ -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 \) \
|
||||
|
Loading…
Reference in New Issue
Block a user