Add .gitreview, update tox.ini, update readme.

Change-Id: I93382fe053be5c266173f2be9c013baba4a6ee66
This commit is contained in:
Ryan Beisner 2016-07-06 12:16:52 +00:00
parent d26a4ccd75
commit 7fc2ce2861
3 changed files with 21 additions and 3 deletions

4
.gitreview Normal file
View File

@ -0,0 +1,4 @@
[gerrit]
host=review.openstack.org
port=29418
project=openstack/charm-interface-hacluster

View File

@ -11,7 +11,7 @@ The interface layer will set the following reactive states, as appropriate:
* `{relation_name}.connected` The relation is established and ready for
the local charm to configure the hacluster subordinate charm. The
configuration of the resources to managed for the hacluster charm
configuration of the resources to manage for the hacluster charm
can be managed via one of the following methods:
* `manage_resources` method

18
tox.ini
View File

@ -1,5 +1,5 @@
[tox]
envlist = lint,py27
envlist = pep8,py27
skipsdist = True
[testenv]
@ -12,8 +12,22 @@ commands = ostestr {posargs}
[testenv:py27]
basepython = python2.7
deps = -r{toxinidir}/test-requirements.txt
# TODO: Need to write unit tests then remove the following command.
commands = /bin/true
[testenv:lint]
[testenv:py34]
basepython = python3.4
deps = -r{toxinidir}/test-requirements.txt
# TODO: Need to write unit tests then remove the following command.
commands = /bin/true
[testenv:py35]
basepython = python3.5
deps = -r{toxinidir}/test-requirements.txt
# TODO: Need to write unit tests then remove the following command.
commands = /bin/true
[testenv:pep8]
basepython = python2.7
deps = -r{toxinidir}/test-requirements.txt
commands = flake8 {posargs}