blob: ece89c6082d33701c564ab5fc3924c41e454003e [file] [log] [blame]
rabid2916d02017-09-22 18:19:24 +05301[tox]
2envlist = py27,py35,pep8
3minversion = 0.1
4skipsdist = True
5
6[testenv]
7userdevelop = True
8setenv = VIRTUAL_ENV={envdir}
9deps = -r{toxinidir}/requirements.txt
10 -r{toxinidir}/test-requirements.txt
11commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
12 testr run {posargs}
13
14[testenv:pep8]
15commands = flake8
16
17[testenv:docs]
18deps = -r{toxinidir}/requirements.txt
19 -r{toxinidir}/test-requirements.txt
20 sphinxcontrib-httpdomain
21commands = python setup.py build_sphinx
22
23[testenv:venv]
24commands = {posargs}
25
26[flake8]
27show-source = True
28builtins = _
29exclude=.venv,.git,.tox,*lib/python*,private,.eggs