From b9f2b06607493153f9a0d4bc9a745cef8e8badbe Mon Sep 17 00:00:00 2001 From: "Ian H. Pittwood" Date: Fri, 26 Apr 2019 13:43:50 -0500 Subject: [PATCH] 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 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index b7a4749..81b227b 100644 --- a/tox.ini +++ b/tox.ini @@ -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