Merge "Move JSON linting to pep8"

This commit is contained in:
Jenkins 2016-08-18 15:57:28 +00:00 committed by Gerrit Code Review
commit 5dc76b76bd

View File

@ -30,6 +30,8 @@ basepython = python2.7
deps = hacking
commands =
bash tools/flake8wrap.sh {posargs}
# 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'
[testenv:functional]
usedevelop = True
@ -69,6 +71,7 @@ commands = {posargs}
commands =
rm -rf doc/source/api doc/build api-guide/build api-ref/build
python setup.py build_sphinx
# 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'
oslo-config-generator --config-file=etc/nova/nova-config-generator.conf
oslopolicy-sample-generator --config-file=etc/nova/nova-policy-generator.conf