From 12c28a49c804feef139d5a78e05f65e756051143 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sun, 18 Aug 2013 14:54:06 -0400 Subject: [PATCH] Mention hacking --- README.rst | 2 ++ {{cookiecutter.repo_name}}/.testr.conf | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 {{cookiecutter.repo_name}}/.testr.conf diff --git a/README.rst b/README.rst index 10baed4..ba2ace2 100644 --- a/README.rst +++ b/README.rst @@ -6,6 +6,7 @@ Cookiecutter template for an OpenStack project. See https://github.com/audreyr/c * Free software: Apache license * pbr_: Set up to use Python Build Reasonableness +* hacking_: Enforces the OpenStack Hacking Guidelines * OpenStack-Infra_: Ready for OpenStack Continuous Integration testing * Tox_ testing: Setup to easily test for Python 2.6, 2.7, 3.3 * Sphinx_ docs: Documentation ready for generation and publication @@ -26,3 +27,4 @@ Then: .. _OpenStack-Infra: http://ci.openstack.org .. _Tox: http://testrun.org/tox/ .. _Sphinx: http://sphinx-doc.org/ +.. _hacking: https://git.openstack.org/cgit/openstack-dev/hacking/plain/HACKING.rst diff --git a/{{cookiecutter.repo_name}}/.testr.conf b/{{cookiecutter.repo_name}}/.testr.conf new file mode 100644 index 0000000..a2ff14b --- /dev/null +++ b/{{cookiecutter.repo_name}}/.testr.conf @@ -0,0 +1,4 @@ +[DEFAULT] +test_command=${PYTHON:-python} -m subunit.run discover -t ./ . $LISTOPT $IDOPTION +test_id_option=--load-list $IDFILE +test_list_option=--list