gpch is a git pre-commit hook that will check your current diff against the following
- search for trealing spaces
- search for remaining conflits marks
- search for leftover debugging instructions
- validates python code through flake8 (if installed)
- validates javascript code through eslint (if installed)
gpch is mainly used to validate python and js code.
Simply link the pre-commit
file into the .git/hooks
directory of your git repository.
If gpch find colout, it will be used to color the ouput of flake8.
- validate sass/scss/less files
- validate xml files (via xmllint?)