Update tox.ini to include venv and add .gitreview
Change-Id: I4b6aabe58fb4ab0c13bb9d0e27d9b40bff1f1ae9
This commit is contained in:
parent
11bb15178c
commit
66512646f4
|
@ -1,4 +1,4 @@
|
|||
[gerrit]
|
||||
host=review.openstack.org
|
||||
port=29418
|
||||
project=openstack/syntribos
|
||||
project=openstack/syntribos.git
|
||||
|
|
14
tox.ini
14
tox.ini
|
@ -1,7 +1,10 @@
|
|||
[tox]
|
||||
envlist=pep8,py27,py34
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
install_command = pip install -U {opts} {packages}
|
||||
setenv=VIRTUAL_ENV={envdir}
|
||||
deps=-r{toxinidir}/pip-requires
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
@ -15,6 +18,13 @@ commands=nosetests
|
|||
[testenv:pep8]
|
||||
commands=flake8
|
||||
|
||||
[flake8]
|
||||
ignore=F401,E402
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
||||
|
||||
[flake8]
|
||||
# E123, E125 skipped as they are invalid PEP-8.
|
||||
|
||||
show-source = True
|
||||
ignore = E123,E125
|
||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||
|
|
Loading…
Reference in New Issue