From 5ccdbc7189640d02cc17e2156c635e8f7eafb02e Mon Sep 17 00:00:00 2001 From: Takashi NATSUME Date: Wed, 21 Aug 2019 10:34:51 +0900 Subject: [PATCH] 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 --- HACKING.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/HACKING.rst b/HACKING.rst index 16664f02fd88..486020db1d1c 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 -------------------