Exclude migrations in black checks

This commit is contained in:
Bruno Alla 2019-03-11 22:21:40 +00:00
parent b1257380e1
commit 7f6391890e

View File

@ -20,7 +20,7 @@ cd my_awesome_project
docker-compose -f local.yml run django mypy my_awesome_project
# Run black with --check option
docker-compose -f local.yml run django black --check my_awesome_project
docker-compose -f local.yml run django black --check --diff --exclude 'migrations' ./
# run the project's tests
docker-compose -f local.yml run django pytest