Enable pre-commit hook to check django migrations

This commit is contained in:
Adam Goldsmith 2024-09-03 11:00:38 -04:00
parent 62e48c6e6f
commit 6c80ed05bd

View File

@ -24,12 +24,11 @@ repos:
hooks: hooks:
- id: pdm-lock-check - id: pdm-lock-check
# TODO: waiting on django-recurrence 1.12 to be released on PyPi - repo: local
# - repo: local hooks:
# hooks: - id: django-migrations
# - id: django-migrations name: Check django migrations
# name: Check django migrations entry: pdm run ./manage.py makemigrations --check --dry-run
# entry: pdm run ./manage.py makemigrations --check --dry-run language: system
# language: system types: [python]
# types: [python] pass_filenames: false
# pass_filenames: false