Fixed queens pep8
- fixed wrong url in constraints url - enforce use of python2.7 because that was the only supported version at that time. Code fails with python3.5 Change-Id: If960eb553add21e8156ba65a8c1ee88799cdac4b Bug: https://bugs.launchpad.net/tripleo/+bug/1881288
This commit is contained in:
parent
ada8f50d60
commit
be158ac047
3
tox.ini
3
tox.ini
|
@ -7,7 +7,7 @@ envlist = py27,pep8
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
install_command = pip install {opts} {packages}
|
install_command = pip install {opts} {packages}
|
||||||
deps =
|
deps =
|
||||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/stable/queens}
|
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/queens}
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands=
|
commands=
|
||||||
|
@ -20,6 +20,7 @@ commands =
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
|
basepython = python2.7
|
||||||
commands = ./run-flake8
|
commands = ./run-flake8
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
|
|
Loading…
Reference in New Issue