2014-07-04 18:56:07 +09:00
|
|
|
[tox]
|
2015-12-21 18:24:08 +05:30
|
|
|
envlist = py34,py27,pypy,pep8
|
2014-07-04 18:56:07 +09:00
|
|
|
minversion = 1.6
|
|
|
|
skipsdist = True
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
|
|
LANG=en_US.UTF-8
|
|
|
|
LANGUAGE=en_US:en
|
|
|
|
LC_ALL=C
|
|
|
|
usedevelop = True
|
|
|
|
install_command = pip install -U {opts} {packages}
|
|
|
|
deps = -r{toxinidir}/requirements.txt
|
|
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
commands = python setup.py testr --testr-args='{posargs}'
|
|
|
|
|
|
|
|
[testenv:pep8]
|
|
|
|
commands = flake8
|
|
|
|
distribute = false
|
|
|
|
|
|
|
|
[testenv:venv]
|
|
|
|
commands = {posargs}
|
|
|
|
|
2016-05-31 22:12:10 -05:00
|
|
|
[testenv:releasenotes]
|
|
|
|
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
|
|
|
|
2014-07-04 18:56:07 +09:00
|
|
|
[testenv:cover]
|
|
|
|
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
|
|
|
|
|
|
|
[flake8]
|
|
|
|
# E125 continuation line does not distinguish itself from next logical line
|
2016-01-27 22:02:03 +01:00
|
|
|
ignore = E125
|
2014-07-04 18:56:07 +09:00
|
|
|
show-source = true
|
2016-03-18 13:42:26 -04:00
|
|
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools
|