Add bandit job to Deckhand
Added bandit job to Deckhand's tox.ini. Change-Id: Iac57ee58e1eda7872091c53401c3d46d1737da78
This commit is contained in:
parent
6c70cbdbfe
commit
b5a7de448e
@ -17,3 +17,4 @@ oslotest>=1.10.0 # Apache-2.0
|
||||
os-testr>=0.8.0 # Apache-2.0
|
||||
testrepository>=0.0.18 # Apache-2.0/BSD
|
||||
testtools>=1.4.0 # MIT
|
||||
bandit>=1.1.0 # Apache-2.0
|
||||
|
6
tox.ini
6
tox.ini
@ -6,7 +6,6 @@ usedevelop = True
|
||||
whitelist_externals = bash
|
||||
find
|
||||
rm
|
||||
env
|
||||
flake8
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
OS_TEST_PATH=./deckhand/tests/unit
|
||||
@ -45,6 +44,11 @@ commands =
|
||||
python setup.py testr --coverage --testr-args='{posargs}'
|
||||
coverage report
|
||||
|
||||
[testenv:bandit]
|
||||
whitelist_externals = bandit
|
||||
commands =
|
||||
bandit -r deckhand -x deckhand/tests -n 5
|
||||
|
||||
[testenv:genconfig]
|
||||
commands = oslo-config-generator --config-file=etc/deckhand/config-generator.conf
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user