From 6ac8bb2a75f7b535f9179b7ef3521093fbef6be2 Mon Sep 17 00:00:00 2001 From: James Carey Date: Thu, 30 Oct 2014 15:28:48 +0000 Subject: [PATCH] Activate pep8 check that _ is imported Removed the specification in tox.ini that _ is a builtin so that it will no longer assume that _ does not need to be imported. The correct import is: from cinder.i18n import _ Activating this check did not flag any violations in cinder. Change-Id: Ifc789514d2462c059eb9f003fac288e751331ded --- tox.ini | 1 - 1 file changed, 1 deletion(-) diff --git a/tox.ini b/tox.ini index 3f0890043..b147982ed 100644 --- a/tox.ini +++ b/tox.ini @@ -73,7 +73,6 @@ commands = {posargs} ignore = E251,E265,H302,H402,H405,H803,H904 -builtins = _ exclude = .git,.venv,.tox,dist,tools,doc,common,*egg,build max-complexity=30 -- 2.45.2