Merge "Duplicate JSON line ending check to pep8"

This commit is contained in:
Jenkins 2017-03-15 17:39:50 +00:00 committed by Gerrit Code Review
commit 4e37f16963

View File

@ -39,6 +39,8 @@ commands =
basepython = python2.7
commands =
bash tools/flake8wrap.sh {posargs}
# 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'