ospurge/tox.ini

31 lines
634 B
INI

[tox]
envlist = pep8,py27
minversion = 1.6
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
OS_STDOUT_NOCAPTURE=False
OS_STDERR_NOCAPTURE=False
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args='{posargs}'
whitelist_externals = flake8
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[flake8]
# E501 line too long
# H302 Do not import objects, only modules
ignore = E501,H302
show-source = True
exclude = .venv,.tox,dist,doc,*egg,build