summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-04-17 16:26:29 -0400
committerDoug Hellmann <doug@doughellmann.com>2018-04-17 16:30:31 -0400
commita91eab24f105627a82a3e3b2230fdc36b5d2f8e0 (patch)
tree4e1fa3f79cea6dd4064939ead25982f0c3f14df6 /tox.ini
parentf4948aec9d11064570b2a4e43adac49888e8f122 (diff)
downloadtaskflow-a91eab24f105627a82a3e3b2230fdc36b5d2f8e0.tar.gz
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>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini64
1 files changed, 37 insertions, 27 deletions
diff --git a/tox.ini b/tox.ini
index fa4214b..a3f81b7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,48 +1,57 @@
[tox]
minversion = 2.0
-envlist = cover,
- docs,
- pep8,
- py27,
- py34,
- py35,
- pylint,
- update-states
+envlist =
+ cover,
+ docs,
+ pep8,
+ py27,
+ py34,
+ py35,
+ pylint,
+ update-states
[testenv]
basepython = python3
-setenv = VIRTUAL_ENV={envdir}
- BRANCH_NAME=master
- CLIENT_NAME=taskflow
+setenv =
+ VIRTUAL_ENV={envdir}
+ 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}
# We need to install a bit more than just `test' because those drivers have
# custom tests that we always run
-deps = .[test,workers,zookeeper,database,redis,eventlet]
-commands = python setup.py testr --slowest --testr-args='{posargs}'
+deps =
+ .[test,workers,zookeeper,database,redis,eventlet]
+commands =
+ python setup.py testr --slowest --testr-args='{posargs}'
[testenv:docs]
-deps = -r{toxinidir}/doc/requirements.txt
-commands = sphinx-build -E -W -b html doc/source doc/build/html
- doc8 doc/source
+deps =
+ -r{toxinidir}/doc/requirements.txt
+commands =
+ sphinx-build -E -W -b html doc/source doc/build/html
+ doc8 doc/source
[testenv:update-states]
-deps = {[testenv]deps}
- pydot2
+deps =
+ {[testenv]deps}
+ pydot2
commands = {toxinidir}/tools/update_states.sh
[testenv:pep8]
commands =
- flake8 {posargs}
- doc8 doc/source
+ flake8 {posargs}
+ doc8 doc/source
[testenv:pylint]
-deps = {[testenv]deps}
- pylint==0.26.0
+deps =
+ {[testenv]deps}
+ pylint==0.26.0
commands = pylint --rcfile=pylintrc taskflow
[testenv:cover]
-deps = {[testenv]deps}
- coverage>=3.6
+deps =
+ {[testenv]deps}
+ coverage>=3.6
commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:venv]
@@ -54,9 +63,10 @@ exclude = .venv,.tox,dist,doc,*egg,.git,build,tools
ignore = E721
[hacking]
-import_exceptions = six.moves
- taskflow.test.mock
- unittest.mock
+import_exceptions =
+ six.moves
+ taskflow.test.mock
+ unittest.mock
[doc8]
# Settings for doc8: