From c756896e904c0ca48236bd4a9c08dff7fa1b4e86 Mon Sep 17 00:00:00 2001 From: Jeremy Liu Date: Thu, 24 Nov 2016 14:25:42 +0800 Subject: Add HACKING.rst and hacking test case. Currently, we have hacking check in kolla, but no place where we can define hacking check rules. This patch adds HACKING.rst file for that. And also add test cases for hacking. Change-Id: I87f8768138d91bf6a5a1db91d37392f794f3f0ba --- HACKING.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 HACKING.rst (limited to 'HACKING.rst') diff --git a/HACKING.rst b/HACKING.rst new file mode 100644 index 000000000..7d5ef11bd --- /dev/null +++ b/HACKING.rst @@ -0,0 +1,13 @@ +Kolla Style Commandments +============================ + +- Step 1: Read the OpenStack Style Commandments + http://docs.openstack.org/developer/hacking/ +- Step 2: Read on + + +Kolla Specific Commandments +------------------------------- + +- [K301] Method's default argument shouldn't be mutable. +- [K302] Use LOG.warning instead of LOG.warn. -- cgit v1.2.3