You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker-compose -f local.yml run django python manage.py migrate
19
+
# run the project's type checks
20
+
docker-compose -f local.yml run django mypy my_awesome_project
21
21
22
-
#view backups
23
-
docker-compose -f local.yml exec postgres backups
22
+
#Run black with --check option
23
+
docker-compose -f local.yml run django black --check --diff --exclude 'migrations' ./
24
24
25
+
# run the project's tests
26
+
docker-compose -f local.yml run django pytest
27
+
28
+
# return non-zero status code if there are migrations that have not been created
29
+
docker-compose -f local.yml run django python manage.py makemigrations --dry-run --check || { echo"ERROR: there were changes in the models, but migration listed above have not been created and are not saved in version control";exit 1; }
30
+
31
+
# Test support for translations
32
+
docker-compose -f local.yml run django python manage.py makemessages
0 commit comments