Merge "add local tox targets for pep8 and py3"
This commit is contained in:
commit
a5a01bdacb
20
tox.ini
20
tox.ini
|
@ -123,3 +123,23 @@ deps =
|
||||||
-c{toxinidir}/lower-constraints.txt
|
-c{toxinidir}/lower-constraints.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
|
|
||||||
|
[testenv:dev]
|
||||||
|
# run locally (not in the gate) using editable mode
|
||||||
|
# https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs
|
||||||
|
commands =
|
||||||
|
pip install -q -e "git+https://git.openstack.org/openstack/neutron#egg=neutron"
|
||||||
|
|
||||||
|
[testenv:py3-dev]
|
||||||
|
basepython = python3
|
||||||
|
commands =
|
||||||
|
{[testenv:dev]commands}
|
||||||
|
{[testenv]commands}
|
||||||
|
|
||||||
|
[testenv:pep8-dev]
|
||||||
|
basepython = python3
|
||||||
|
deps =
|
||||||
|
{[testenv]deps}
|
||||||
|
commands =
|
||||||
|
{[testenv:dev]commands}
|
||||||
|
{[testenv:pep8]commands}
|
||||||
|
|
Loading…
Reference in New Issue