mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-09 22:44:54 +03:00
Exclude migrations in black checks
This commit is contained in:
parent
b1257380e1
commit
7f6391890e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user