summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorramishra <ramishra@redhat.com>2021-01-06 14:54:09 +0530
committerRabi Mishra <ramishra@redhat.com>2021-01-12 07:46:49 +0000
commit915da60e888afc2c7e48e08560a632cb66bb7480 (patch)
treea3bdc567303431dbb69b3560249fef89991ab89e /tox.ini
parent7e03502a6e3477dcada86f51adeff8d22d2e5951 (diff)
downloadheat-915da60e888afc2c7e48e08560a632cb66bb7480.tar.gz
Fix multiple gate issues
- Remove B322 bandit from exclusions - Fix tests for db resource update exposed by SQLAlchemy>=1.3.21 Change-Id: I18efbbbe211a42325a946f5ca74b4e26bfb3316e (cherry picked from commit f4ab9d0bc05e92f5cfb0067435d0acbb7a284695)
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 1 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 0a01fca1d..7137f70db 100644
--- a/tox.ini
+++ b/tox.ini
@@ -30,14 +30,13 @@ commands =
# B110: Try, Except, Pass detected.
# B310: Audit url open for permitted schemes
# B311: Standard pseudo-random generators are not suitable for security/cryptographic purposes
- # B322: The input method is safe in Python 3.
# B404: Import of subprocess module
# B410: Import of lxml module
# B504: Test for SSL use with no version specified
# B506: Test for use of yaml load
# B603: Test for use of subprocess with shell equals true
# B607: Test for starting a process with a partial path
- bandit -r heat -x tests --skip B101,B104,B107,B110,B310,B311,B322,B404,B410,B504,B506,B603,B607
+ bandit -r heat -x tests --skip B101,B104,B107,B110,B310,B311,B404,B410,B504,B506,B603,B607
doc8 {posargs}
[testenv:venv]