Remove #noqa from gettextutils imports
Removed #noqa from gettextutils and added them to import_exceptions. I think it is better to specify option in one place (tox.ini) than every time take care that you do not forget to specify this tag. Also removed a few unused imports that were revealed in the process. Change-Id: Ic4ca9cf374870075a36b88269ff8aea5a8e24a90
This commit is contained in:
parent
fa2bb61199
commit
a55acc1266
|
@ -16,7 +16,7 @@ from oslo.config import cfg
|
|||
|
||||
from murano.common import wsgi
|
||||
import murano.context
|
||||
from murano.openstack.common.gettextutils import _ # noqa
|
||||
from murano.openstack.common.gettextutils import _
|
||||
import murano.openstack.common.log as logging
|
||||
|
||||
context_opts = [
|
||||
|
|
|
@ -22,7 +22,7 @@ from oslo.config import cfg
|
|||
|
||||
from murano.api import versions
|
||||
from murano.common import wsgi
|
||||
from murano.openstack.common.gettextutils import _ # noqa
|
||||
from murano.openstack.common.gettextutils import _
|
||||
import murano.openstack.common.log as logging
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
|
|
@ -20,7 +20,7 @@ from murano.db import models
|
|||
from murano.db.services import environments as envs
|
||||
from murano.db.services import sessions
|
||||
from murano.db import session as db_session
|
||||
from murano.openstack.common.gettextutils import _ # noqa
|
||||
from murano.openstack.common.gettextutils import _
|
||||
from murano.openstack.common import log as logging
|
||||
from murano.services import actions
|
||||
from murano.services import states
|
||||
|
|
|
@ -28,7 +28,7 @@ from murano.common import policy
|
|||
from murano.common import wsgi
|
||||
from murano.db.catalog import api as db_api
|
||||
from murano.openstack.common import exception
|
||||
from murano.openstack.common.gettextutils import _ # noqa
|
||||
from murano.openstack.common.gettextutils import _
|
||||
from murano.openstack.common import log as logging
|
||||
from murano.packages import exceptions as pkg_exc
|
||||
from murano.packages import load_utils
|
||||
|
|
|
@ -22,7 +22,7 @@ from murano.common import wsgi
|
|||
from murano.db import models
|
||||
from murano.db import session as db_session
|
||||
|
||||
from murano.openstack.common.gettextutils import _ # noqa
|
||||
from murano.openstack.common.gettextutils import _
|
||||
from murano.openstack.common import log as logging
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
|
|
@ -28,7 +28,7 @@ from murano.db.services import core_services
|
|||
from murano.db.services import environments as envs
|
||||
from murano.db import session as db_session
|
||||
|
||||
from murano.openstack.common.gettextutils import _ # noqa
|
||||
from murano.openstack.common.gettextutils import _
|
||||
from murano.openstack.common import log as logging
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
|
|
@ -17,7 +17,6 @@ from murano.common import policy
|
|||
from murano.common import wsgi
|
||||
from murano.db.services import instances
|
||||
|
||||
from murano.openstack.common.gettextutils import _ # noqa
|
||||
from murano.openstack.common import log as logging
|
||||
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ from murano.db import models
|
|||
from murano.db.services import environments as envs
|
||||
from murano.db.services import sessions
|
||||
from murano.db import session as db_session
|
||||
from murano.openstack.common.gettextutils import _ # noqa
|
||||
from murano.openstack.common.gettextutils import _
|
||||
from murano.openstack.common import log as logging
|
||||
from murano.services import states
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ import sys
|
|||
from oslo.config import cfg
|
||||
from paste import deploy
|
||||
|
||||
from murano.openstack.common.gettextutils import _ # noqa
|
||||
from murano.openstack.common.gettextutils import _
|
||||
from murano import version
|
||||
|
||||
paste_deploy_opts = [
|
||||
|
|
|
@ -31,7 +31,7 @@ from murano.engine import package_class_loader
|
|||
from murano.engine import package_loader
|
||||
from murano.engine.system import status_reporter
|
||||
import murano.engine.system.system_objects as system_objects
|
||||
from murano.openstack.common.gettextutils import _ # noqa
|
||||
from murano.openstack.common.gettextutils import _
|
||||
from murano.openstack.common import log as logging
|
||||
|
||||
RPC_SERVICE = None
|
||||
|
|
|
@ -26,7 +26,7 @@ from murano.db import models
|
|||
from murano.db.services import environments
|
||||
from murano.db.services import instances
|
||||
from murano.db import session
|
||||
from murano.openstack.common.gettextutils import _ # noqa
|
||||
from murano.openstack.common.gettextutils import _
|
||||
from murano.openstack.common import log as logging
|
||||
from murano.openstack.common import timeutils
|
||||
from murano.services import states
|
||||
|
|
|
@ -23,7 +23,7 @@ from murano.api.v1 import request_statistics
|
|||
from murano.common import config
|
||||
|
||||
from murano.db.services import stats as db_stats
|
||||
from murano.openstack.common.gettextutils import _ # noqa
|
||||
from murano.openstack.common.gettextutils import _
|
||||
from murano.openstack.common import log as logging
|
||||
from murano.openstack.common import service
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ import types
|
|||
import eventlet
|
||||
import jsonschema
|
||||
|
||||
from murano.openstack.common.gettextutils import _ # noqa
|
||||
from murano.openstack.common.gettextutils import _
|
||||
from murano.openstack.common import log as logging
|
||||
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ from xml.parsers import expat
|
|||
|
||||
from murano.api.v1 import schemas
|
||||
from murano.openstack.common import exception
|
||||
from murano.openstack.common.gettextutils import _ # noqa
|
||||
from murano.openstack.common.gettextutils import _
|
||||
from murano.openstack.common import jsonutils
|
||||
from murano.openstack.common import log as logging
|
||||
from murano.openstack.common import service
|
||||
|
|
|
@ -21,7 +21,7 @@ from webob import exc
|
|||
|
||||
from murano.db import models
|
||||
from murano.db import session as db_session
|
||||
from murano.openstack.common.gettextutils import _ # noqa
|
||||
from murano.openstack.common.gettextutils import _
|
||||
from murano.openstack.common import log as logging
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
|
|
@ -19,7 +19,7 @@ from webob import exc
|
|||
from murano.db import models
|
||||
from murano.db.services import sessions
|
||||
from murano.db import session as db_session
|
||||
from murano.openstack.common.gettextutils import _ # noqa
|
||||
from murano.openstack.common.gettextutils import _
|
||||
from murano.openstack.common import log as logging
|
||||
from murano.services import states
|
||||
|
||||
|
|
Loading…
Reference in New Issue