From: James Carey Date: Thu, 30 Oct 2014 15:28:48 +0000 (+0000) Subject: Activate pep8 check that _ is imported X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=6ac8bb2a75f7b535f9179b7ef3521093fbef6be2;p=openstack-build%2Fcinder-build.git 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 --- 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