[tox] envlist = py27,pep8,pylint skipsdist = True [testenv] usedevelop = True install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = py.test -v --cov-report term-missing --cov disaster_recovery [testenv:pep8] commands = flake8 [testenv:venv] commands = {posargs} [testenv:cover] commands = python setup.py testr --coverage --testr-args='{posargs}' [flake8] show-source = True ignore = E123,E125,H405,H238,H306,H701 builtins = _ exclude=.venv,.tox,dist,doc,test,*egg,tests,runtests.py [testenv:pylint] commands = pylint --rcfile .pylintrc disaster_recovery [testenv:docs] commands = python setup.py build_sphinx