1
Fork 0

Added lint to tests

This commit is contained in:
Jake Howard 2015-11-23 14:33:03 +00:00
parent 868ef2f427
commit 8b5fefe583
2 changed files with 4 additions and 1 deletions

View file

@ -14,7 +14,8 @@
"watch-images": "watch 'npm run build-images' static/src/img/", "watch-images": "watch 'npm run build-images' static/src/img/",
"watch-less": "watch 'npm run build-less' static/src/less/", "watch-less": "watch 'npm run build-less' static/src/less/",
"watch": "npm run watch-less & npm run watch-images", "watch": "npm run watch-less & npm run watch-images",
"clean": "rm -rf static/build collected-static/ node_modules/ env/" "clean": "rm -rf static/build collected-static/ node_modules/ env/",
"test": "npm run lint"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View file

@ -5,3 +5,5 @@ set -e
export PATH=env/bin:${PATH} export PATH=env/bin:${PATH}
flake8 project --ignore=E128,E501 --exclude="migrations,settings,*/wsgi.py" flake8 project --ignore=E128,E501 --exclude="migrations,settings,*/wsgi.py"
npm test