Merge "Add bandit target"
This commit is contained in:
commit
fe3aaa4202
@ -24,3 +24,6 @@ tempest>=14.0.0 # Apache-2.0
|
||||
|
||||
# Functional tests.
|
||||
requests!=2.12.2,!=2.13.0,>=2.10.0 # Apache-2.0
|
||||
|
||||
# Bandit security scanning
|
||||
bandit>=1.1.0 # Apache-2.0
|
||||
|
3
tox.ini
3
tox.ini
@ -43,6 +43,9 @@ commands = python setup.py build_sphinx
|
||||
[testenv:releasenotes]
|
||||
commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
[testenv:bandit]
|
||||
commands = bandit -r valet -x tests -n 5 -l
|
||||
|
||||
[flake8]
|
||||
filename = *.py
|
||||
show-source = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user