Remove releasenotes/build between releasenotes runs
Just like in the docs target, we should remove the releasenotes/build directory between runs of the releasenotes target to avoid stale sphinx results corrupting the current run results. Change-Id: Ia9e0409344671e04148308e08c26e8796227f0f7 Closes-Bug: #1534640
This commit is contained in:
1 changed files with 3 additions and 1 deletions
4
tox.ini
4
tox.ini
@@ -138,7 +138,9 @@ commands = {[testenv:docs]commands}
commands = bandit -c bandit.yaml -r nova -n 5 -ll
[testenv:releasenotes]
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
[flake8]
# E125 is deliberately excluded. See https://github.com/jcrocholl/pep8/issues/126
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.