29 lines
596 B
INI
29 lines
596 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = pep8,docs
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:pep8]
|
|
basepython = python2.7
|
|
commands =
|
|
doc8 README.rst doc/source specs
|
|
|
|
[testenv:docs]
|
|
# TODO(milan): remove the version pin once feedformatter supports python3
|
|
basepython = python2.7
|
|
commands = python setup.py build_sphinx
|
|
|
|
[testenv:spelling]
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
sphinxcontrib-spelling
|
|
PyEnchant
|
|
commands = sphinx-build -b spelling doc/source doc/build/spelling
|