diff options
author | Zuul <zuul@review.opendev.org> | 2023-03-10 12:18:45 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2023-03-10 12:18:45 +0000 |
commit | 327ae032b1792be6f02e1b57e32e415e942f7348 (patch) | |
tree | 4ae0ed0c86998e79942795c81dd54d4b38c4e12a | |
parent | 8fd11205d69582a47515419c697fe428019d6b24 (diff) | |
parent | 4fcbe943385d01b2e9c34db2a7c5738edb4c169d (diff) | |
download | heat-327ae032b1792be6f02e1b57e32e415e942f7348.tar.gz |
Merge "Disable B113 rule of bandit"
-rw-r--r-- | tox.ini | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -30,6 +30,7 @@ commands = # B104: Test for binding to all interfaces # B107: Test for use of hard-coded password argument defaults # B110: Try, Except, Pass detected. + # B113: Requests call without timeout # B310: Audit url open for permitted schemes # B311: Standard pseudo-random generators are not suitable for security/cryptographic purposes # B404: Import of subprocess module @@ -38,7 +39,7 @@ commands = # 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,B404,B410,B504,B506,B603,B607 + bandit -r heat -x tests --skip B101,B104,B107,B110,B113,B310,B311,B404,B410,B504,B506,B603,B607 doc8 {posargs} [testenv:venv] @@ -100,6 +101,7 @@ deps = # B104: Test for binding to all interfaces # B107: Test for use of hard-coded password argument defaults # B110: Try, Except, Pass detected. +# B113: Requests call without timeout # B310: Audit url open for permitted schemes # B311: Standard pseudo-random generators are not suitable for security/cryptographic purposes # B404: Import of subprocess module @@ -108,7 +110,7 @@ deps = # 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 -commands = bandit -r heat -x tests --skip B101,B104,B107,B110,B310,B311,B404,B410,B504,B506,B603,B607 +commands = bandit -r heat -x tests --skip B101,B104,B107,B110,B113,B310,B311,B404,B410,B504,B506,B603,B607 [flake8] show-source = true |