git-restack/tox.ini
Jeremy Stanley 7a4f2553d6 Update to newer hacking checks
Update to newer hacking checks, and temporarily disable H238 to be
fixed in a subsequent patch.

Change-Id: I7d59ca5680f958852f73e705e45454a1c4d1c800
2015-06-17 00:49:19 +00:00

33 lines
677 B
INI

[tox]
envlist = py26,py27,py32,py33,py34,pep8
[testenv]
install_command = pip install -U {opts} {packages}
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:docs]
commands = python setup.py build_sphinx
[testenv:venv]
commands = {posargs}
[flake8]
ignore = E125,H202,H238,H405,H904
show-source = True
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build