From f5e83cedb455a00600806c34a840bf4a17fabd48 Mon Sep 17 00:00:00 2001
From: Eduardo Gonzalez <dabarren@gmail.com>
Date: Fri, 17 Aug 2018 12:56:22 +0200
Subject: [PATCH] Temporary ignore B303 in bandit tests

Revert this change once the insecure usages are fixed.

Change-Id: Id7e8c9fe72db1b6f123eca540e09f77ddee2f242
---
 tox.ini | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tox.ini b/tox.ini
index f5aebeb61..b40129bcc 100644
--- a/tox.ini
+++ b/tox.ini
@@ -44,12 +44,13 @@ commands =
   flake8 {posargs}
   doc8 doc
   python {toxinidir}/tools/validate-all-file.py
-  bandit -r ansible kolla_ansible tests tools
+  bandit --skip B303 -r ansible kolla_ansible tests tools
   yamllint -s .
 
 [testenv:bandit]
+# B303: Use of insecure MD2, MD4, MD5, or SHA1 hash function.
 basepython = python3
-commands = bandit -r ansible kolla_ansible tests tools
+commands = bandit --skip B303 -r ansible kolla_ansible tests tools
 
 [testenv:venv]
 basepython = python3
-- 
GitLab