git-restack/tox.ini
Christian Berendt d3b91e326e Enabled hacking checks H305 and H307
* H305  imports not grouped correctly
* H307  like imports should be grouped together

Change-Id: Ia4b376a90fed830ceea4b91caa920ff38263df5e
2014-07-17 09:38:36 +02:00

29 lines
560 B
INI

[tox]
envlist = py26,py27,py32,py33,pep8
[testenv]
setenv =
VIRTUAL_ENV={envdir}
commands =
python -m git_review.tests.prepare
python setup.py testr --slowest --testr-args='--concurrency=2 {posargs}'
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:pep8]
commands = flake8
[testenv:sdist]
commands = python setup.py sdist {posargs}
[testenv:venv]
commands = {posargs}
[flake8]
ignore = E125,H202,H405,H904
show-source = True
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build