From 7fc2ce286136370dcd18251c2fa457462f2fe3d4 Mon Sep 17 00:00:00 2001 From: Ryan Beisner Date: Wed, 6 Jul 2016 12:16:52 +0000 Subject: [PATCH] Add .gitreview, update tox.ini, update readme. Change-Id: I93382fe053be5c266173f2be9c013baba4a6ee66 --- .gitreview | 4 ++++ README.md | 2 +- tox.ini | 18 ++++++++++++++++-- 3 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 .gitreview diff --git a/.gitreview b/.gitreview new file mode 100644 index 0000000..ef00568 --- /dev/null +++ b/.gitreview @@ -0,0 +1,4 @@ +[gerrit] +host=review.openstack.org +port=29418 +project=openstack/charm-interface-hacluster diff --git a/README.md b/README.md index 67194db..e8147ac 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/tox.ini b/tox.ini index c035f1a..8ae4d78 100644 --- a/tox.ini +++ b/tox.ini @@ -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}