mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-25 19:14:03 +03:00
68f7268770
* Create a test matrix on Travis CI to help testing multiple options * Change test_docker.sh to fail if any command in it fails * Run black on the CI with --check option * Fix formatting of project files using black * Install black in the docker container * Exclude migrations in black checks * Fix Black formatting violations * Run black on the whole generated project & fix issues
12 lines
198 B
INI
12 lines
198 B
INI
[tox]
|
|
skipsdist = true
|
|
envlist = py36,black
|
|
|
|
[testenv]
|
|
deps = -rrequirements.txt
|
|
commands = pytest {posargs:./tests}
|
|
|
|
[testenv:black]
|
|
deps = black
|
|
commands = black --check hooks tests setup.py docs
|