From b7fc72c688ab0eaeb4a85a9af3a26428a94854c5 Mon Sep 17 00:00:00 2001 From: "Derrick J. Wippler" Date: Thu, 3 Sep 2015 12:07:19 -0500 Subject: Hacking log format arg check Added hacking check for log lines that accidently pass a tuple as the second argument when providing format arguments. Change-Id: Ifba23948f9fb49e9f6a1ee7e743aba0cd864c827 Closes-Bug: 1415241 --- HACKING.rst | 1 + 1 file changed, 1 insertion(+) (limited to 'HACKING.rst') diff --git a/HACKING.rst b/HACKING.rst index 2dd920cd5..3b0d67285 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -26,6 +26,7 @@ Cinder Specific Commandments - [C307] LOG.warn is deprecated. Enforce use of LOG.warning. - [C308] timeutils.isotime() must not be used (deprecated). - [C309] Unit tests should not perform logging. +- [C310] Check for improper use of logging format arguments. General ------- -- cgit v1.2.1