Add B303 into list of skipped bandit plugins
Blacklist call of hashlib.sha1 was blacklisted in bandit with [1] and it is now added to list of skipped tests in Neutron Client. [1] PyCQA/bandit@35e3544 Change-Id: I8322d0666528323df8b1214306be4b80c4b0777a
This commit is contained in:
parent
d8d9a8d5d0
commit
bcf895cbe3
3
tox.ini
3
tox.ini
|
@ -65,8 +65,9 @@ import-order-style = pep8
|
|||
enable-extensions=H904
|
||||
|
||||
[testenv:bandit]
|
||||
# B303: blacklist calls: md5, sha1
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = bandit -r neutronclient -x tests -n5
|
||||
commands = bandit -r neutronclient -x tests -n5 -s B303
|
||||
|
||||
[testenv:lower-constraints]
|
||||
basepython = python3
|
||||
|
|
Loading…
Reference in New Issue