Skip to content

Commit

Permalink
Fix #1311 - Add lint for missing or conflicting migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsasha committed Apr 3, 2024
1 parent eaa9ea3 commit ebfebc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ fail=0
pylama --skip "**/migrations/*" ${@} || fail=1
black --line-length 120 --check ${@} || fail=1

SKIP_SECRET_KEY_CHECK=True CACHE_LOCATION= ENABLE_BATCH= ./manage.py makemigrations --noinput --check --dry-run || fail=1

exit "$fail"

0 comments on commit ebfebc5

Please sign in to comment.