Merge "Move JSON linting to pep8"
This commit is contained in:
commit
5dc76b76bd
3
tox.ini
3
tox.ini
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user