summaryrefslogtreecommitdiff
path: root/HACKING.rst
diff options
context:
space:
mode:
authorZhongyue Luo <lzyeval@gmail.com>2012-05-16 17:08:27 +0800
committerZhongyue Luo <lzyeval@gmail.com>2012-05-31 11:26:37 +0800
commit61c5597a09945982f093412cd134850346b82e3b (patch)
tree17c543635e9a50e5d70f87b8079bbcddb6f14575 /HACKING.rst
parent0f2142b14adc442840c79a48add0dab78acf7c93 (diff)
downloadnova-61c5597a09945982f093412cd134850346b82e3b.tar.gz
Backslash continuation removal (Nova folsom-2)
Fixes bug #938588 Backslash continuations removal for scripts in bin/, plugin/, and etc. Change-Id: Idd17048b6e8db6e939946968e011e68da8585b8d
Diffstat (limited to 'HACKING.rst')
-rw-r--r--HACKING.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst
index a28bc37432..c85f5f3055 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -10,6 +10,8 @@ General
-------
- Put two newlines between top-level code (funcs, classes, etc)
- Put one newline between methods in classes and anywhere else
+- Long lines should be wrapped in parentheses
+ in preference to using a backslash for line continuation.
- Do not write "except:", use "except Exception:" at the very least
- Include your name with TODOs as in "#TODO(termie)"
- Do not shadow a built-in or reserved word. Example::