summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <ralonsoh@redhat.com>2022-03-03 00:24:33 +0000
committerRodolfo Alonso Hernandez <ralonsoh@redhat.com>2022-03-03 00:26:29 +0000
commit28628e8f962c49aa276647ca2b2e71a2be530277 (patch)
treef430c4f9fc6ee60687fb839facba78b3f210d22c
parent6ca3341352e17f8ea4e79627c5a96c519b73a7b6 (diff)
downloadpython-neutronclient-28628e8f962c49aa276647ca2b2e71a2be530277.tar.gz
Skip B105 pep8 error: hardcoded passwords
Skip B105 pep8 error: * https://bandit.readthedocs.io/en/latest/plugins/b105_hardcoded_password_string.html * https://cwe.mitre.org/data/definitions/259.html Trivial-Fix Change-Id: I8e58da2d88d727018c8d5af5949e34f8c0893c1f
-rw-r--r--tox.ini5
1 files changed, 4 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 8e7aa16..9136a0f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -81,8 +81,11 @@ enable-extensions=H904
[testenv:bandit]
# B303: blacklist calls: md5, sha1
+# B105: The software contains a hard-coded password, which it uses for its own
+# inbound authentication or for outbound communication to external
+# components.
deps = -r{toxinidir}/test-requirements.txt
-commands = bandit -r neutronclient -x tests -n5 -s B303
+commands = bandit -r neutronclient -x tests -n5 -s B303,B105
[testenv:lower-constraints]
deps =