Stdlib imports are always first

Change-Id: I219fda2121e8a3607dfcf42fb6ea3b3756c3614a
This commit is contained in:
Frédéric Guillot 2017-01-20 09:11:41 -05:00
parent 04c4fcf900
commit d888655fc7
23 changed files with 42 additions and 22 deletions

View File

@ -14,9 +14,10 @@
import abc
from dateutil import parser as date_parser
import six
from oslo_log import log
import pytz
import six
from almanach.core import exception

View File

@ -11,11 +11,12 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from almanach.validators import instance_validator
from oslo_log import log
from almanach.core.controllers import base_controller
from almanach.core import exception
from almanach.validators import instance_validator
LOG = log.getLogger(__name__)

View File

@ -13,6 +13,7 @@
# limitations under the License.
from datetime import timedelta
from oslo_log import log
from almanach.core.controllers import base_controller

View File

@ -12,12 +12,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import almanach
import os
from tempest import config
from tempest.test_discover import plugins
import almanach
from almanach.tests.tempest import config as project_config

View File

@ -12,11 +12,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from uuid import uuid4
from oslo_serialization import jsonutils as json
from tempest.common.utils import data_utils
from tempest import config
import tempest.test
from uuid import uuid4
from almanach.tests.tempest import clients

View File

@ -12,9 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from uuid import uuid4
from oslo_serialization import jsonutils as json
from tempest.lib import exceptions
from uuid import uuid4
from almanach.tests.tempest.tests.api import base

View File

@ -12,9 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from oslo_serialization import jsonutils as json
from uuid import uuid4
from oslo_serialization import jsonutils as json
from almanach.tests.tempest.tests.api import base

View File

@ -12,9 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from oslo_serialization import jsonutils as json
from uuid import uuid4
from oslo_serialization import jsonutils as json
from almanach.tests.tempest.tests.api import base

View File

@ -12,9 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from oslo_serialization import jsonutils as json
from uuid import uuid4
from oslo_serialization import jsonutils as json
from almanach.tests.tempest.tests.api import base

View File

@ -12,9 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from oslo_serialization import jsonutils as json
from uuid import uuid4
from oslo_serialization import jsonutils as json
from almanach.tests.tempest.tests.api import base

View File

@ -12,9 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from oslo_serialization import jsonutils as json
from uuid import uuid4
from oslo_serialization import jsonutils as json
from almanach.tests.tempest.tests.api import base

View File

@ -12,9 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from oslo_serialization import jsonutils as json
from uuid import uuid4
from oslo_serialization import jsonutils as json
from almanach.tests.tempest.tests.api import base

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import time
from oslo_serialization import jsonutils as json
from tempest.common import compute
from tempest.common.utils import data_utils
@ -19,8 +21,6 @@ from tempest.common import waiters
from tempest import config
from tempest.lib import exceptions
from tempest.scenario import manager
import time
from almanach.tests.tempest import clients

View File

@ -12,9 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from keystoneauth1 import exceptions as keystoneauth1_exceptions
import mock
from keystoneauth1 import exceptions as keystoneauth1_exceptions
from almanach.api.auth import keystone_auth
from almanach.core import exception
from almanach.tests.unit import base

View File

@ -13,8 +13,9 @@
# limitations under the License.
from datetime import datetime
import flask
from mock import mock
import flask
from oslo_serialization import jsonutils as json
from almanach.api.v1 import routes

View File

@ -14,9 +14,10 @@
from copy import copy
from datetime import datetime
import pytz
from uuid import uuid4
import pytz
from almanach.core import model

View File

@ -13,6 +13,7 @@
# limitations under the License.
import mock
import oslo_messaging
from almanach.collector import messaging

View File

@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from almanach.collector import service
import mock
from almanach.collector import service
from almanach.tests.unit import base

View File

@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from almanach.core.controllers import application_controller
import mock
from almanach.core.controllers import application_controller
from almanach.tests.unit import base

View File

@ -12,9 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from almanach.core.controllers import volume_type_controller
import mock
from almanach.core.controllers import volume_type_controller
from almanach.tests.unit import base
from almanach.tests.unit.builders.entity import a
from almanach.tests.unit.builders.entity import volume_type

View File

@ -12,13 +12,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import mock
from almanach.core.controllers import application_controller
from almanach.core.controllers import entity_controller
from almanach.core.controllers import instance_controller
from almanach.core.controllers import volume_controller
from almanach.core.controllers import volume_type_controller
from almanach.core import factory
import mock
from almanach.tests.unit import base

View File

@ -12,10 +12,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from datetime import datetime
import pytz
from almanach.core import exception
from almanach.core import model
from datetime import datetime
import pytz
from almanach.tests.unit import base

View File

@ -13,6 +13,7 @@
# limitations under the License.
from datetime import datetime
import mongomock
import pytz