Added lint to tests
This commit is contained in:
parent
868ef2f427
commit
8b5fefe583
2 changed files with 4 additions and 1 deletions
|
@ -14,7 +14,8 @@
|
|||
"watch-images": "watch 'npm run build-images' static/src/img/",
|
||||
"watch-less": "watch 'npm run build-less' static/src/less/",
|
||||
"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": {
|
||||
"type": "git",
|
||||
|
|
2
runtests
2
runtests
|
@ -5,3 +5,5 @@ set -e
|
|||
export PATH=env/bin:${PATH}
|
||||
|
||||
flake8 project --ignore=E128,E501 --exclude="migrations,settings,*/wsgi.py"
|
||||
|
||||
npm test
|
Reference in a new issue