From 6151147daf5655ea3e5269e4b3eb6ed9a0f38fb2 Mon Sep 17 00:00:00 2001 From: James Slagle Date: Tue, 4 May 2021 10:51:19 -0400 Subject: [PATCH] Update tox.ini for tripleo-docs Removes the pep8 and bindep tox environments. pep8 did not run successfully as there is no test-requirements.txt file, and there is nothing to test anyway. bindep also has nothing to test, so it's also removed. The deploy-guide tox environment is added to the default list so that just running "tox" results in a full build of the documentation including the user and deploy guide. Change-Id: I1990556fec47905d2e137b51bcaefd15fe597dea --- tox.ini | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/tox.ini b/tox.ini index 20703d31..38ca4b24 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] minversion = 2.0 skipsdist = True -envlist = docs,pep8,bindep +envlist = docs,deploy-guide [testenv] basepython = python3 @@ -30,30 +30,6 @@ commands = sphinx-build --keep-going -b latex doc/source doc/build/pdf make -C doc/build/pdf -[testenv:pep8] -whitelist_externals = bash -deps = -r{toxinidir}/test-requirements.txt -# We fail pretty horribly on bashate right now -#commands = bash -c "find scripts -type f | xargs bashate -v" -# flake8 -commands = flake8 - -[flake8] -show-source = True -exclude = .tox,dist,*.egg,build - [testenv:deploy-guide] deps = {[testenv:docs]deps} commands = sphinx-build -a -E -W -d deploy-guide/build/doctrees --keep-going -b html deploy-guide/source deploy-guide/build/html - -[testenv:bindep] -# Do not install any requirements. We want this to be fast and work even if -# system dependencies are missing, since it's used to tell you what system -# dependencies are missing! This also means that bindep must be installed -# separately, outside of the requirements files, and develop mode disabled -# explicitly to avoid unnecessarily installing the checked-out repo too (this -# further relies on "tox.skipsdist = True" above). -usedevelop = False -deps = bindep -commands = - bindep test