Merge "Duplicate JSON line ending check to pep8"
This commit is contained in:
commit
4e37f16963
2
tox.ini
2
tox.ini
@ -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'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user