
This synchronizes requirements.txt, test-requirements.txt and setup.py with the current state of the openstack/requirements global-requirements.txt list. Also adds flake8 exclusions to tox.ini for new hacking rules with which git-review does not yet comply. Change-Id: I837ba57134bea16dd46c3f512bccd51cb39f76c8
29 lines
570 B
INI
29 lines
570 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,H305,H307,H405,H904
|
|
show-source = True
|
|
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|