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"
|
||||
pycodestyle .
|
||||
printf "${PURPLE}unit tests...${NC}\n"
|
||||
python manage.py test --noinput
|
||||
python -Wall manage.py test --noinput
|
||||
set +e
|
||||
|
||||
printf "${PURPLE}Tests passed.${NC}\n"
|
||||
Reference in New Issue
Block a user