Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add automatic checks for missing migrations at CI and pre-commit levels #184

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stevejalim
Copy link
Collaborator

@stevejalim stevejalim commented Nov 1, 2023

See #176

@stevejalim stevejalim force-pushed the add-makemigrations-check-to-ci branch 2 times, most recently from 7151864 to d1506d4 Compare November 1, 2023 11:01
@stevejalim stevejalim force-pushed the add-makemigrations-check-to-ci branch from d1506d4 to 2593031 Compare November 1, 2023 11:02
@stevejalim stevejalim marked this pull request as draft November 1, 2023 11:35
@stevejalim stevejalim removed the request for review from robhudson November 1, 2023 11:36
Copy link

@robhudson robhudson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

entry: python birdbox/manage.py makemigrations --dry-run --check
language: system
types: [python] # hook only runs if a python file is staged
pass_filenames: false

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that line is important. Nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants