Merge "Add exclusion for bandit check B303"

This commit is contained in:
Zuul 2019-05-15 12:26:18 +00:00 committed by Gerrit Code Review
commit ef649372c9

View File

@ -29,10 +29,12 @@ setenv = VIRTUAL_ENV={envdir}
commands =
flake8 swauth test
flake8 --filename=swauth* bin
bandit -r swauth -s B309
bandit -r swauth -s B303,B309
[testenv:bandit]
commands = bandit -r swauth -s B309
# B303 Use of insecure hash function
# B309 Use of HTTPSConnection
commands = bandit -r swauth -s B303,B309
[testenv:venv]
commands = {posargs}