To test build errors locally, set it up using:
pip install -e flake8-gramex
npm install -g eslint@2.6.0 eslint-plugin-template htmllint-cli jscpd
Make sure you have .flake8
, .eslintrc
and .htmllintrc
from yo gramex
. Then run:
flake8
eslint --ext js,html .
htmllint
This will test most build errors. But if you want to test them all, another approach is:
git merge --squash new-branch
This is documented on Wiki.