mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 19:44:00 +03:00
20 lines
438 B
INI
20 lines
438 B
INI
[tox]
|
|
skipsdist = true
|
|
envlist = py37,flake8,black,black-template
|
|
|
|
[testenv]
|
|
deps = -rrequirements.txt
|
|
commands = pytest -m "not flake8" -m "not black" {posargs:./tests}
|
|
|
|
[testenv:flake8]
|
|
deps = -rrequirements.txt
|
|
commands = pytest -m flake8 {posargs:./tests}
|
|
|
|
[testenv:black]
|
|
deps = -rrequirements.txt
|
|
commands = pytest -m black {posargs:./tests}
|
|
|
|
[testenv:black-template]
|
|
deps = black
|
|
commands = black --check hooks tests setup.py docs
|