Enabled hacking checks H305 and H307
* H305 imports not grouped correctly * H307 like imports should be grouped together Change-Id: I08dafc4fa150d2213b2bb002da7c9ee0ee517fac
This commit is contained in:
parent
1cc3e5d866
commit
5be1b6a6a9
@ -22,7 +22,6 @@ import logging
|
||||
import sys
|
||||
|
||||
from oslo.config import cfg
|
||||
|
||||
from oslo.messaging._drivers import impl_zmq
|
||||
from oslo.messaging._executors import impl_eventlet # FIXME(markmc)
|
||||
|
||||
|
@ -28,9 +28,9 @@ import logging
|
||||
import threading
|
||||
import uuid
|
||||
|
||||
from oslo.config import cfg
|
||||
import six
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo.messaging._drivers import common as rpc_common
|
||||
from oslo.messaging._drivers import pool
|
||||
|
||||
|
@ -20,9 +20,9 @@ import logging
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from oslo import messaging
|
||||
import six
|
||||
|
||||
from oslo import messaging
|
||||
from oslo.messaging import _utils as utils
|
||||
from oslo.messaging.openstack.common import importutils
|
||||
from oslo.messaging.openstack.common import jsonutils
|
||||
|
@ -19,9 +19,9 @@ import logging
|
||||
import random
|
||||
import time
|
||||
|
||||
from oslo.config import cfg
|
||||
import six
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo.messaging._drivers import amqp as rpc_amqp
|
||||
from oslo.messaging._drivers import amqpdriver
|
||||
from oslo.messaging._drivers import common as rpc_common
|
||||
|
@ -25,9 +25,9 @@ import kombu
|
||||
import kombu.connection
|
||||
import kombu.entity
|
||||
import kombu.messaging
|
||||
from oslo.config import cfg
|
||||
import six
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo.messaging._drivers import amqp as rpc_amqp
|
||||
from oslo.messaging._drivers import amqpdriver
|
||||
from oslo.messaging._drivers import common as rpc_common
|
||||
|
@ -25,10 +25,10 @@ import uuid
|
||||
|
||||
import eventlet
|
||||
import greenlet
|
||||
from oslo.config import cfg
|
||||
import six
|
||||
from six import moves
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo.messaging._drivers import base
|
||||
from oslo.messaging._drivers import common as rpc_common
|
||||
from oslo.messaging._executors import impl_eventlet # FIXME(markmc)
|
||||
|
@ -20,6 +20,7 @@ import contextlib
|
||||
import logging
|
||||
|
||||
import eventlet
|
||||
|
||||
from oslo.config import cfg
|
||||
|
||||
# FIXME(markmc): remove this
|
||||
|
@ -17,7 +17,6 @@ return keys for direct exchanges, per (approximate) AMQP parlance.
|
||||
"""
|
||||
|
||||
from oslo.config import cfg
|
||||
|
||||
from oslo.messaging._drivers import matchmaker as mm_common
|
||||
from oslo.messaging.openstack.common import importutils
|
||||
|
||||
|
@ -21,7 +21,6 @@ import json
|
||||
import logging
|
||||
|
||||
from oslo.config import cfg
|
||||
|
||||
from oslo.messaging._drivers import matchmaker as mm
|
||||
|
||||
# FIXME(markmc): remove this
|
||||
|
@ -20,7 +20,6 @@ from eventlet import greenpool
|
||||
import greenlet
|
||||
|
||||
from oslo.config import cfg
|
||||
|
||||
from oslo.messaging._executors import base
|
||||
from oslo.messaging.openstack.common import excutils
|
||||
|
||||
|
@ -16,11 +16,11 @@
|
||||
import fnmatch
|
||||
import logging
|
||||
|
||||
from oslo.config import cfg
|
||||
import six
|
||||
from stevedore import dispatch
|
||||
import yaml
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo.messaging.notify import notifier
|
||||
from oslo.messaging.openstack.common.gettextutils import _ # noqa
|
||||
|
||||
|
@ -17,7 +17,6 @@ Driver for the Python logging package that sends log records as a notification.
|
||||
import logging
|
||||
|
||||
from oslo.config import cfg
|
||||
|
||||
from oslo.messaging.notify import notifier
|
||||
from oslo.messaging import transport
|
||||
|
||||
|
@ -19,10 +19,10 @@ import abc
|
||||
import logging
|
||||
import uuid
|
||||
|
||||
from oslo.config import cfg
|
||||
import six
|
||||
from stevedore import named
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo.messaging.openstack.common import timeutils
|
||||
from oslo.messaging import serializer as msg_serializer
|
||||
|
||||
|
@ -23,9 +23,9 @@ __all__ = [
|
||||
'RemoteError',
|
||||
]
|
||||
|
||||
from oslo.config import cfg
|
||||
import six
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo.messaging._drivers import base as driver_base
|
||||
from oslo.messaging import _utils as utils
|
||||
from oslo.messaging import exceptions
|
||||
|
@ -27,11 +27,11 @@ __all__ = [
|
||||
'set_transport_defaults',
|
||||
]
|
||||
|
||||
from oslo.config import cfg
|
||||
import six
|
||||
from six.moves.urllib import parse
|
||||
from stevedore import driver
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo.messaging import exceptions
|
||||
|
||||
|
||||
|
@ -15,9 +15,9 @@
|
||||
# under the License.
|
||||
|
||||
import contextlib
|
||||
import eventlet
|
||||
import threading
|
||||
|
||||
import eventlet
|
||||
import mock
|
||||
import testscenarios
|
||||
|
||||
|
@ -16,9 +16,9 @@
|
||||
import threading
|
||||
|
||||
import mock
|
||||
from oslo.config import cfg
|
||||
import testscenarios
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo import messaging
|
||||
from oslo.messaging.notify import dispatcher
|
||||
from tests import utils as test_utils
|
||||
|
@ -11,6 +11,7 @@
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
|
||||
import mock
|
||||
|
||||
from oslo import messaging
|
||||
|
@ -13,9 +13,9 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo.config import cfg
|
||||
import testscenarios
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo import messaging
|
||||
from oslo.messaging import serializer as msg_serializer
|
||||
from tests import utils as test_utils
|
||||
|
@ -15,9 +15,9 @@
|
||||
|
||||
import threading
|
||||
|
||||
from oslo.config import cfg
|
||||
import testscenarios
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo import messaging
|
||||
from tests import utils as test_utils
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
# under the License.
|
||||
|
||||
from oslo import messaging
|
||||
|
||||
from tests import utils as test_utils
|
||||
|
||||
|
||||
|
@ -15,11 +15,11 @@
|
||||
|
||||
import fixtures
|
||||
from mox3 import mox
|
||||
from oslo.config import cfg
|
||||
import six
|
||||
from stevedore import driver
|
||||
import testscenarios
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo import messaging
|
||||
from oslo.messaging import transport
|
||||
from tests import utils as test_utils
|
||||
|
@ -19,9 +19,10 @@
|
||||
|
||||
"""Common utilities used in testing"""
|
||||
|
||||
from oslo.config import cfg
|
||||
import six
|
||||
|
||||
from oslo.config import cfg
|
||||
|
||||
from oslotest import base
|
||||
from oslotest import moxstubout
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user