Update list of skipped bandit plugins

This is the same fix as https://review.openstack.org/592884
but for neutron-lib.

Change-Id: Ia20ac59289df5e44b8a7e99df9371c4c381a40be
This commit is contained in:
Bence Romsics 2018-08-21 09:23:22 +02:00
parent d24aa98369
commit ebbad5b995
1 changed files with 2 additions and 1 deletions

View File

@ -99,9 +99,10 @@ import-order-style = pep8
[testenv:bandit]
# B104: Possible binding to all interfaces
# B303: Blacklist use of insecure MD2, MD4, MD5, or SHA1 hash functions
# B311: Standard pseudo-random generators are not suitable for security/cryptographic purpose
deps = -r{toxinidir}/test-requirements.txt
commands = bandit -r neutron_lib -x tests -n5 -s B104,B311
commands = bandit -r neutron_lib -x tests -n5 -s B104,B303,B311
[hacking]
import_exceptions = neutron_lib._i18n