mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-28 11:26:26 -06:00
Extend git commit hook to check for missing schema migrations
This commit is contained in:
parent
2de3e579a6
commit
2fcefa43a4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user