2016-02-08 23:16:28 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
echo ">> Validating JSON..."
|
|
|
|
npm install jsonlint -g
|
2016-02-09 21:22:48 +00:00
|
|
|
jsonlint -q apt/apt-installs-core.json
|
|
|
|
jsonlint -q apt/apt-installs-extra.json
|
|
|
|
jsonlint -q apt/apt-keys.json
|
|
|
|
jsonlint -q apt/apt-repos.json
|
|
|
|
jsonlint -q atom/packages.json
|
2016-02-08 23:16:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
echo ">> Validating Python..."
|
|
|
|
pip install flake8
|
|
|
|
|
2016-02-09 21:33:35 +00:00
|
|
|
flake8 * --ignore=E128,E501 --exclude=env/,node_modules/
|