summaryrefslogtreecommitdiff
path: root/HACKING.rst
diff options
context:
space:
mode:
authorTakashi NATSUME <natsume.takashi@lab.ntt.co.jp>2019-08-21 10:34:51 +0900
committerTakashi NATSUME <natsume.takashi@lab.ntt.co.jp>2019-08-21 10:40:21 +0900
commit5ccdbc7189640d02cc17e2156c635e8f7eafb02e (patch)
tree5ade10f89b90282af6893c86799f35a60c3f8814 /HACKING.rst
parent4e9d2244799fb285f75056f9120201aaa408a765 (diff)
downloadnova-5ccdbc7189640d02cc17e2156c635e8f7eafb02e.tar.gz
Fix missing rule description in HACKING.rst
The description of N363 hacking rule is missing in HACKING.rst. Add the description. Change-Id: I036a48612fcd256df4ccbd2ebba814bf3ed7a1c2 Closes-Bug: #1840862
Diffstat (limited to 'HACKING.rst')
-rw-r--r--HACKING.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst
index 16664f02fd..486020db1d 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -73,6 +73,7 @@ Nova Specific Commandments
- [N362] Imports for privsep modules should be specific. Use "import nova.privsep.path",
not "from nova.privsep import path". This ensures callers know that the method they're
calling is using priviledge escalation.
+- [N363] Disallow ``(not_a_tuple)`` because you meant ``(a_tuple_of_one,)``.
Creating Unit Tests
-------------------