Add linting pre-commit hook and hook install script #86
|
@ -32,7 +32,7 @@ done
|
|||
echo -e "\nPython linting complete!\n"
|
||||
|
||||
if ! $PASS; then
|
||||
echo -e "\033[41mCOMMIT FAILED:\033[0m Your commit contains files that should pass ESLint but do not. Please fix the ESLint errors and try again.\n"
|
||||
echo -e "\033[41mCOMMIT FAILED:\033[0m Your commit contains files that should pass flake8 but do not. Please fix the flake8 errors and try again.\n"
|
||||
exit 1
|
||||
else
|
||||
echo -e "\033[42mCOMMIT SUCCEEDED\033[0m\n"
|
||||
|
|
Loading…
Reference in New Issue