From 7bd2bef3b4ea4e22df7f6019589c18e68ed8520e Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 11 Jun 2020 16:11:07 +0100 Subject: [PATCH] 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 --- tox.ini | 4 ---- 1 file changed, 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