forked from robinhood/faust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
41 lines (32 loc) · 1.02 KB
/
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
35
36
37
38
39
40
41
[tox]
envlist = 3.6,flake8,apicheck,configcheck,typecheck
[testenv]
deps=
-r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test.txt
-r{toxinidir}/requirements/ci.txt
3.6: -r{toxinidir}/requirements/py36.txt
linkcheck,apicheck,configcheck: -r{toxinidir}/requirements/docs.txt
flake8: -r{toxinidir}/requirements/dist.txt
sitepackages = False
recreate = False
commands = py.test --open-files -xv --cov=faust
basepython =
3.6,flake8,apicheck,linkcheck,configcheck,typecheck: python3.6
[testenv:apicheck]
setenv =
APICHECK=1
commands =
sphinx-build -W -b apicheck -d {envtmpdir}/doctrees docs docs/_build/apicheck
[testenv:configcheck]
commands =
sphinx-build -j2 -b configcheck -d {envtmpdir}/doctrees docs docs/_build/configcheck
[testenv:linkcheck]
commands =
sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs docs/_build/linkcheck
[testenv:flake8]
commands =
flake8 {toxinidir}/faust {toxinidir}/t {toxinidir}/examples
[testenv:typecheck]
commands =
mypy -p faust