tox: Fix typo

This was introduced in change I87b30273. While we're here, we also start
passing positional arguments to 'sphinx-build' so we can configure it
somewhat dynamically.

Change-Id: I766da57377cd2ddb0a82419e36eeec1046309948
This commit is contained in:
Stephen Finucane 2018-06-18 12:32:20 +01:00
parent eb6b43ba06
commit d85735d1b2

View File

@ -45,8 +45,8 @@ basepython = python3
whitelist_externals = rm
deps = -r{toxinidir}/doc/requirements.txt
commands =
rm -fr doc/builds
sphinx-build -W -b html doc/source doc/build/html
rm -fr doc/build
sphinx-build -W -b html doc/source doc/build/html {posargs}
[testenv:bandit]
basepython = python3