-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
tox.ini
44 lines (38 loc) · 844 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
35
36
37
38
39
40
41
42
43
44
[tox]
envlist = py36,py37
[sphinx-vars]
build_dir = build
input_dir = docs/source
sphinxopts = -a -W -b html
autosphinxopts = -i *~ -i *.sw* -i Makefile*
sphinxbuilddir = {[sphinx-vars]build_dir}/sphinx/html
allsphinxopts = -d {[sphinx-vars]build_dir}/sphinx/doctrees {[sphinx-vars]sphinxopts} docs
[testenv]
deps =
pytest
outcome
commands =
pytest -xvvv --full-trace
[testenv:pylint]
deps =
pylint
commands =
pylint trio_asyncio
[testenv:flake8]
deps =
flake8
commands =
flake8 trio_asyncio tests
[testenv:doc]
deps =
sphinx
sphinx-rtd-theme
sphinxcontrib-trio
commands =
sphinx-build -a {[sphinx-vars]input_dir} {[sphinx-vars]build_dir}
[testenv:livehtml]
deps =
sphinx
sphinx-autobuild
commands =
sphinx-autobuild {[sphinx-vars]autosphinxopts} {[sphinx-vars]allsphinxopts} {[sphinx-vars]sphinxbuilddir}