Add 'Wall' flag to pre-push hook
This should help noticing deprecations
This commit is contained in:
@@ -19,7 +19,7 @@ npm test
|
|||||||
printf "${PURPLE}pycodestyle tests...${NC}\n"
|
printf "${PURPLE}pycodestyle tests...${NC}\n"
|
||||||
pycodestyle .
|
pycodestyle .
|
||||||
printf "${PURPLE}unit tests...${NC}\n"
|
printf "${PURPLE}unit tests...${NC}\n"
|
||||||
python manage.py test --noinput
|
python -Wall manage.py test --noinput
|
||||||
set +e
|
set +e
|
||||||
|
|
||||||
printf "${PURPLE}Tests passed.${NC}\n"
|
printf "${PURPLE}Tests passed.${NC}\n"
|
||||||
Reference in New Issue
Block a user