2015-11-08 23:52:29 +03:00
|
|
|
[tox]
|
|
|
|
skipsdist = true
|
2019-09-30 03:04:21 +03:00
|
|
|
envlist = py37,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-31 12:02:42 +03:00
|
|
|
commands = pytest -m "not flake8" -m "not black" {posargs:./tests}
|
2019-05-15 14:37:17 +03:00
|
|
|
|
|
|
|
[testenv:flake8]
|
|
|
|
deps = -rrequirements.txt
|
2019-05-31 12:02:42 +03:00
|
|
|
commands = pytest -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
|
2019-05-31 12:02:42 +03:00
|
|
|
commands = pytest -m black {posargs:./tests}
|
2019-05-15 14:37:17 +03:00
|
|
|
|
|
|
|
[testenv:black-template]
|
2019-03-18 20:49:43 +03:00
|
|
|
deps = black
|
|
|
|
commands = black --check hooks tests setup.py docs
|