Add hacking import exception for i18n
This is preferred over adding noqa's everywhere we import a translation function. Change-Id: I171df45b62beb9776e8dbb52e33a408a832bf86f
This commit is contained in:
parent
efc4354522
commit
19dbcbbb89
@ -28,7 +28,7 @@ import weakref
|
||||
|
||||
from oslo.config import cfg
|
||||
|
||||
from oslo.concurrency._i18n import _, _LE, _LI # noqa
|
||||
from oslo.concurrency._i18n import _, _LE, _LI
|
||||
from oslo.concurrency.openstack.common import fileutils
|
||||
|
||||
|
||||
|
@ -30,7 +30,7 @@ from eventlet import greenthread
|
||||
from oslo.utils import strutils
|
||||
import six
|
||||
|
||||
from oslo.concurrency._i18n import _ # noqa
|
||||
from oslo.concurrency._i18n import _
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
Loading…
Reference in New Issue
Block a user