summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2020-06-11 16:11:07 +0100
committerStephen Finucane <stephenfin@redhat.com>2020-10-28 11:05:06 +0000
commit7bd2bef3b4ea4e22df7f6019589c18e68ed8520e (patch)
tree48029f564b90d835724dfc29775e67278f5abf85
parent0d2ca53bb86b8e4a3c44855cb5ef57f223462543 (diff)
downloadnova-7bd2bef3b4ea4e22df7f6019589c18e68ed8520e.tar.gz
tox: Stop linting as part of docs target
This linting makes building docs an even more painful process than it would otherwise be. We already do this as part of the pep8 target, which the gate runs, so there's no need to do this here. Change-Id: I36ae872dd21299ad5d165422cb83564eafd89bea Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
-rw-r--r--tox.ini4
1 files changed, 0 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index f2333b6e30..addb9cf8d6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -177,10 +177,6 @@ deps =
-r{toxinidir}/doc/requirements.txt
commands =
rm -rf doc/build/html doc/build/doctrees
- # Check that all JSON files don't have \r\n in line.
- bash -c "! find doc/ -type f -name *.json | xargs grep -U -n $'\r'"
- # Check that all included JSON files are valid JSON
- bash -c '! find doc/ -type f -name *.json | xargs -t -n1 python -m json.tool 2>&1 > /dev/null | grep -B1 -v ^python'
sphinx-build -W --keep-going -b html -d doc/build/doctrees doc/source doc/build/html
# Test the redirects. This must run after the main docs build
whereto doc/build/html/.htaccess doc/test/redirect-tests.txt