diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6a82e7d..958dfaf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,3 +15,13 @@ repos: - id: black language_version: python3 entry: black --target-version=py36 + +- repo: https://github.com/remastr/pre-commit-django-check-migrations + rev: v0.1.0 + hooks: + - id: check-migrations-created + args: + [ + --exec-command=poetry run python, + --manage-path=manage.py, + ]