
* tox.ini: Newer hacking fails to recognize the Apache header in the git-review script, so pin at <0.6 for now to match an upcoming refactoring change. This will allow us to get some quick cosmetic fixes in first. Change-Id: I8e92b1d23d0b8d87e3bafe43d97c987abdf1d9f8
23 lines
390 B
INI
23 lines
390 B
INI
[tox]
|
|
envlist = py26,py27,pep8
|
|
|
|
[testenv]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
|
|
[testenv:pep8]
|
|
deps = argparse
|
|
hacking<0.6
|
|
commands = flake8
|
|
|
|
[testenv:sdist]
|
|
commands = python setup.py sdist {posargs}
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
ignore = E125
|
|
show-source = True
|
|
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
|
filename = git-review,setup.py
|