Adding some packeges to pip requirements
Updated .gitignore Added .gitreview, tox.ini Change-Id: Ief3ab14f47e1ace57cdaa5f60018b302fda56564
This commit is contained in:
parent
d15afbe3aa
commit
c262bf85ee
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,6 +5,7 @@
|
||||
.coverage*
|
||||
.noseids
|
||||
.venv
|
||||
.idea
|
||||
coverage.xml
|
||||
pep8.txt
|
||||
pylint.txt
|
||||
|
4
.gitreview
Normal file
4
.gitreview
Normal file
@ -0,0 +1,4 @@
|
||||
[gerrit]
|
||||
host=review.openstack.org
|
||||
port=29418
|
||||
project=stackforge/murano-dashboard.git
|
@ -4,3 +4,9 @@ anyjson
|
||||
#Fix for bug https://bugs.launchpad.net/python-keystoneclient/+bug/1116740
|
||||
backports.ssl_match_hostname
|
||||
requests==0.14.2
|
||||
python-glanceclient
|
||||
python-novaclient
|
||||
python-quantumclient
|
||||
python-swiftclient
|
||||
django_openstack_auth
|
||||
|
||||
|
53
tox.ini
Normal file
53
tox.ini
Normal file
@ -0,0 +1,53 @@
|
||||
[tox]
|
||||
envlist = py26,py27,pep8,pyflakes
|
||||
|
||||
[testenv]
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
NOSE_WITH_OPENSTACK=1
|
||||
NOSE_OPENSTACK_COLOR=1
|
||||
NOSE_OPENSTACK_RED=0.05
|
||||
NOSE_OPENSTACK_YELLOW=0.025
|
||||
NOSE_OPENSTACK_SHOW_ELAPSED=1
|
||||
NOSE_OPENSTACK_STDOUT=1
|
||||
NOSE_XUNIT=1
|
||||
deps =
|
||||
-r{toxinidir}/tools/pip-requires
|
||||
-r{toxinidir}/tools/test-requires
|
||||
commands =
|
||||
|
||||
[testenv:integration]
|
||||
commands =
|
||||
|
||||
[testenv:cover]
|
||||
setenv = NOSE_WITH_COVERAGE=1
|
||||
|
||||
[tox:jenkins]
|
||||
downloadcache = ~/cache/pip
|
||||
|
||||
[testenv:pep8]
|
||||
deps =
|
||||
flake8
|
||||
hacking
|
||||
commands =
|
||||
|
||||
[testenv:pyflakes]
|
||||
deps =
|
||||
commands =
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:docs]
|
||||
commands =
|
||||
|
||||
[testenv:pylint]
|
||||
commands =
|
||||
|
||||
[flake8]
|
||||
# H301 one import per line
|
||||
# H302 import only modules
|
||||
ignore = H301,H302
|
||||
show-source = true
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools
|
Loading…
Reference in New Issue
Block a user