update tox.ini to ignore apache license in callback
Jira-Issue: OSTACKDEV-20
This commit is contained in:
parent
eca0695a54
commit
dfee41685c
7
tox.ini
7
tox.ini
|
@ -1,7 +1,7 @@
|
|||
[tox]
|
||||
minversion = 1.6
|
||||
skipsdist = True
|
||||
envlist = py27,py34,pep8,bandit
|
||||
envlist = py27,py34,pep8,pep8pi,bandit
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
|
@ -24,12 +24,15 @@ commands =
|
|||
[testenv:pep8]
|
||||
commands = flake8
|
||||
|
||||
[testenv:pep8pi]
|
||||
commands = flake8 ./ansible_plugins/kolla_callback.py --ignore=H102
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
||||
[flake8]
|
||||
show-source = True
|
||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
||||
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,ansible_plugins
|
||||
|
||||
[testenv:bandit]
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
|
|
Loading…
Reference in New Issue