forked from fgmacedo/python-statemachine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
34 lines (30 loc) · 724 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[tox]
envlist = py27, py35, py36, py37, py38, lint
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/statemachine
COV_CORE_CONFIG={toxinidir}/.coveragerc
COV_CORE_DATAFILE={toxinidir}/.coverage
deps =
py27: watchdog==0.10.4
-r{toxinidir}/requirements_test.txt
commands =
{posargs:py.test}
[testenv:lint]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/statemachine
deps =
mypy==0.761
# restructuredtext-lint==1.3.0
docutils
Pygments
commands =
python setup.py check --restructuredtext --strict --metadata
mypy statemachine/ tests/
basepython =
lint: python3.8
py38: python3.8
py37: python3.7
py36: python3.6
py35: python3.5
py27: python2.7