1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Extend git commit hook to check for missing schema migrations

This commit is contained in:
Jeremy Stretch
2019-12-06 12:42:59 -05:00
parent 9b26225fdd
commit d71e6698f4

View File

@ -12,3 +12,5 @@ exec 1>&2
echo "Validating PEP8 compliance..."
pycodestyle --ignore=W504,E501 netbox/
echo "Checking for missing migrations..."
python netbox/manage.py makemigrations --dry-run --check