Merge "Run bandit job with python3"
This commit is contained in:
commit
9fe4dd11fe
14
tox.ini
14
tox.ini
@ -157,6 +157,14 @@ commands = {envpython} {toxinidir}/manage.py {posargs}
|
||||
basepython = python3
|
||||
commands = {envpython} {toxinidir}/manage.py runserver {posargs}
|
||||
|
||||
[testenv:bandit]
|
||||
basepython = python3
|
||||
commands = bandit -r horizon openstack_auth openstack_dashboard -n5 -x tests -ll
|
||||
|
||||
[testenv:bandit-baseline]
|
||||
envdir = {toxworkdir}/bandit
|
||||
basepython = python3
|
||||
|
||||
[flake8]
|
||||
filename = *.py,django.wsgi
|
||||
exclude = .git,.tox,dist,*lib/python*,*egg,build,panel_template,dash_template,local_settings.py,*/local/*,*/test/test_plugins/*,.ropeproject,node_modules,openstack_dashboard/enabled/*
|
||||
@ -176,12 +184,6 @@ application-import-names = horizon,openstack_dashboard
|
||||
|
||||
[hacking]
|
||||
local-check-factory = horizon.hacking.checks.factory
|
||||
|
||||
[testenv:bandit]
|
||||
commands = bandit -r horizon openstack_auth openstack_dashboard -n5 -x tests -ll
|
||||
|
||||
[testenv:bandit-baseline]
|
||||
envdir = {toxworkdir}/bandit
|
||||
commands = bandit-baseline -r horizon openstack_auth openstack_dashboard -n5 -x tests -ii -ll
|
||||
|
||||
[doc8]
|
||||
|
Loading…
x
Reference in New Issue
Block a user