diff --git a/tox.ini b/tox.ini index 4fbea41e..80880a48 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,6 @@ usedevelop = True install_command = pip install {opts} {packages} whitelist_externals = find - flake8 rm commands = find . -type f -name "*.pyc" -delete @@ -45,7 +44,9 @@ commands = [testenv:releasenotes] basepython = python3 deps = -r{toxinidir}/doc/requirements.txt -commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html +commands = + rm -rf releasenotes/build + sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [testenv:pep8] basepython = python3