Skip to content

Commit d5452ec

Browse files
committed
TST: Split flake8 into tox env, Sphinx HTML builds
1 parent c7a8694 commit d5452ec

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

tox.ini

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
[tox]
2-
envlist = py27,docs
2+
envlist = flake8,py27,docs
33

44
[testenv]
5-
deps=
6-
pytest>=2.7.2
7-
flake8
8-
commands=
9-
py.test
10-
flake8
5+
deps = pytest>=2.7.2
6+
commands = py.test
7+
8+
[testenv:flake8]
9+
deps = flake8
10+
commands = flake8
1111

1212
[testenv:docs]
13+
changedir = docs
1314
deps = sphinx
14-
commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs docs/_build/linkcheck
15+
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

0 commit comments

Comments
 (0)