Merge "Add exclusion for bandit check B303"
This commit is contained in:
commit
ef649372c9
6
tox.ini
6
tox.ini
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user