Enable bandit checks in tox

This change enables bandit in tox checks. Existing bandit errors were
resolved by:

- https://review.opendev.org/#/c/651823/
- https://review.opendev.org/#/c/648764/
- https://review.opendev.org/#/c/651807/

Change-Id: I8dc7ca828907b88af9463f1e9a88a86fbd3b6445
This commit is contained in:
Ian H. Pittwood 2019-04-26 13:43:50 -05:00 committed by Ian Pittwood
parent 6fefe5233e
commit b9f2b06607
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ commands =
bash -c {toxinidir}/tools/gate/whitespace-linter.sh
yapf -dr {toxinidir}/spyglass {toxinidir}/setup.py
flake8 {toxinidir}/spyglass
bandit -r spyglass -n 5
whitelist_externals =
bash