standardize indentation in tox.ini
Try to tidy up the formatting of the configuration file. Change-Id: Ic492ee63f228b486da492088cd7fcb71d784b2e3 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
f4948aec9d
commit
a91eab24f1
64
tox.ini
64
tox.ini
|
@ -1,48 +1,57 @@
|
||||||
[tox]
|
[tox]
|
||||||
minversion = 2.0
|
minversion = 2.0
|
||||||
envlist = cover,
|
envlist =
|
||||||
docs,
|
cover,
|
||||||
pep8,
|
docs,
|
||||||
py27,
|
pep8,
|
||||||
py34,
|
py27,
|
||||||
py35,
|
py34,
|
||||||
pylint,
|
py35,
|
||||||
update-states
|
pylint,
|
||||||
|
update-states
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv =
|
||||||
BRANCH_NAME=master
|
VIRTUAL_ENV={envdir}
|
||||||
CLIENT_NAME=taskflow
|
BRANCH_NAME=master
|
||||||
|
CLIENT_NAME=taskflow
|
||||||
install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
|
install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
|
||||||
# We need to install a bit more than just `test' because those drivers have
|
# We need to install a bit more than just `test' because those drivers have
|
||||||
# custom tests that we always run
|
# custom tests that we always run
|
||||||
deps = .[test,workers,zookeeper,database,redis,eventlet]
|
deps =
|
||||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
.[test,workers,zookeeper,database,redis,eventlet]
|
||||||
|
commands =
|
||||||
|
python setup.py testr --slowest --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps =
|
||||||
commands = sphinx-build -E -W -b html doc/source doc/build/html
|
-r{toxinidir}/doc/requirements.txt
|
||||||
doc8 doc/source
|
commands =
|
||||||
|
sphinx-build -E -W -b html doc/source doc/build/html
|
||||||
|
doc8 doc/source
|
||||||
|
|
||||||
[testenv:update-states]
|
[testenv:update-states]
|
||||||
deps = {[testenv]deps}
|
deps =
|
||||||
pydot2
|
{[testenv]deps}
|
||||||
|
pydot2
|
||||||
commands = {toxinidir}/tools/update_states.sh
|
commands = {toxinidir}/tools/update_states.sh
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands =
|
commands =
|
||||||
flake8 {posargs}
|
flake8 {posargs}
|
||||||
doc8 doc/source
|
doc8 doc/source
|
||||||
|
|
||||||
[testenv:pylint]
|
[testenv:pylint]
|
||||||
deps = {[testenv]deps}
|
deps =
|
||||||
pylint==0.26.0
|
{[testenv]deps}
|
||||||
|
pylint==0.26.0
|
||||||
commands = pylint --rcfile=pylintrc taskflow
|
commands = pylint --rcfile=pylintrc taskflow
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
deps = {[testenv]deps}
|
deps =
|
||||||
coverage>=3.6
|
{[testenv]deps}
|
||||||
|
coverage>=3.6
|
||||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
|
@ -54,9 +63,10 @@ exclude = .venv,.tox,dist,doc,*egg,.git,build,tools
|
||||||
ignore = E721
|
ignore = E721
|
||||||
|
|
||||||
[hacking]
|
[hacking]
|
||||||
import_exceptions = six.moves
|
import_exceptions =
|
||||||
taskflow.test.mock
|
six.moves
|
||||||
unittest.mock
|
taskflow.test.mock
|
||||||
|
unittest.mock
|
||||||
|
|
||||||
[doc8]
|
[doc8]
|
||||||
# Settings for doc8:
|
# Settings for doc8:
|
||||||
|
|
Loading…
Reference in New Issue