Add .gitreview file for 0.7.x branch
Also make the branch functionally pass gerrit/jenkins. Change-Id: I323ffbc48a80b46af7ecbf6ab1bce775072c2012
This commit is contained in:
parent
a74bfb7dc4
commit
80fe269595
5
.gitreview
Normal file
5
.gitreview
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[gerrit]
|
||||||
|
host=review.openstack.org
|
||||||
|
port=29418
|
||||||
|
project=stackforge/cloud-init.git
|
||||||
|
defaultbranch=0.7.x
|
@ -1,7 +1,12 @@
|
|||||||
httpretty>=0.7.1
|
httpretty>=0.7.1
|
||||||
mock
|
mock
|
||||||
nose
|
nose
|
||||||
pep8==1.5.7
|
|
||||||
pyflakes
|
|
||||||
contextlib2
|
contextlib2
|
||||||
setuptools
|
setuptools
|
||||||
|
|
||||||
|
# For doc building
|
||||||
|
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
|
||||||
|
oslosphinx
|
||||||
|
|
||||||
|
# For style checking
|
||||||
|
hacking<0.11,>=0.10.0
|
||||||
|
52
tox.ini
52
tox.ini
@ -1,29 +1,33 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = py26,py27,py34
|
minversion = 1.6
|
||||||
recreate = True
|
skipsdist = True
|
||||||
|
envlist = py27,py34,docs,pep8
|
||||||
|
|
||||||
|
[tox:jenkins]
|
||||||
|
downloadcache = ~/cache/pip
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands = python -m nose {posargs:tests}
|
usedevelop = True
|
||||||
deps =
|
setenv = VIRTUAL_ENV={envdir} LC_ALL=en_US.utf-8
|
||||||
contextlib2
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
httpretty>=0.7.1
|
-r{toxinidir}/requirements.txt
|
||||||
mock
|
commands = nosetests {posargs}
|
||||||
nose
|
|
||||||
pep8==1.5.7
|
|
||||||
pyflakes
|
|
||||||
|
|
||||||
# https://github.com/gabrielfalcao/HTTPretty/issues/223
|
[testenv:pep8]
|
||||||
setenv =
|
deps = {[testenv]deps}
|
||||||
LC_ALL = en_US.utf-8
|
commands = flake8 {posargs}
|
||||||
|
|
||||||
[testenv:py26]
|
[testenv:docs]
|
||||||
commands = nosetests {posargs:tests}
|
deps = {[testenv]deps}
|
||||||
deps =
|
commands = python setup.py build_sphinx
|
||||||
contextlib2
|
|
||||||
httpretty>=0.7.1
|
[testenv:venv]
|
||||||
mock
|
deps = {[testenv]deps}
|
||||||
nose
|
commands = {posargs}
|
||||||
pep8==1.5.7
|
|
||||||
pyflakes
|
[flake8]
|
||||||
setenv =
|
builtins = _
|
||||||
LC_ALL = C
|
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
||||||
|
|
||||||
|
# TODO(harlowja): fix these up...
|
||||||
|
ignore = E121,E123,E124,E126,E127,E128,E226,E302,E501,E502,F401,F811,F841,H101,H102,H104,H105,H201,H231,H233,H234,H236,H301,H304,H306,H401,H403,H404,H405,W291,W293
|
||||||
|
Loading…
x
Reference in New Issue
Block a user