2015-11-08 23:52:29 +03:00
|
|
|
[tox]
|
|
|
|
skipsdist = true
|
2019-05-15 14:37:17 +03:00
|
|
|
envlist = py36,flake8,black,black-template
|
2015-11-08 23:52:29 +03:00
|
|
|
|
|
|
|
[testenv]
|
2018-03-06 19:56:27 +03:00
|
|
|
deps = -rrequirements.txt
|
2019-05-15 14:37:17 +03:00
|
|
|
commands = pytest -n 3 -m "not flake8" -m "not black" {posargs:./tests}
|
|
|
|
|
|
|
|
[testenv:flake8]
|
|
|
|
deps = -rrequirements.txt
|
|
|
|
commands = pytest -n 3 -m flake8 {posargs:./tests}
|
2019-03-18 20:49:43 +03:00
|
|
|
|
|
|
|
[testenv:black]
|
2019-05-15 14:37:17 +03:00
|
|
|
deps = -rrequirements.txt
|
|
|
|
commands = pytest -n 3 -m black {posargs:./tests}
|
|
|
|
|
|
|
|
[testenv:black-template]
|
2019-03-18 20:49:43 +03:00
|
|
|
deps = black
|
|
|
|
commands = black --check hooks tests setup.py docs
|