Remove bypassing of H302 for gettextutils markers

When we used the i18n markers (_, _LE, _LW, etc) from
ironic.openstack.common.gettextutils, we bypassed H302
hacking rule for them (via tox.ini file). Now that we've
converted to using the markers from oslo.i18n and are no
longer using the markers from gettextutils, we can remove
the bypass stuff.

Change-Id: I26147b69884cd9c075e1cfe38a92e38e861083e7
Closes-Bug: #1368425
This commit is contained in:
Ruby Loo 2014-09-11 21:04:47 +00:00
parent 3886cef57b
commit 2a44f4c9de
1 changed files with 1 additions and 3 deletions

View File

@ -44,6 +44,4 @@ select = E713
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,*ironic/nova*
[hacking]
import_exceptions = ironic.openstack.common.gettextutils._, ironic.openstack.common.gettextutils._LI,
ironic.openstack.common.gettextutils._LW,ironic.openstack.common.gettextutils._LE,
ironic.openstack.common.gettextutils._LC, testtools.matchers, ironic.common.i18n
import_exceptions = testtools.matchers, ironic.common.i18n