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:44:57 +00:00
|
|
|
flake8 *.py --ignore=E128,E501 --exclude=__init__.py
|
|
|
|
flake8 INSTALL_ALL_THE_THINGS --ignore=E128,E501
|