pep8: use import-order-style

Change-Id: Iee49e16988caa6f05f63563f7c7c2fd5443cde8c
This commit is contained in:
Isaku Yamahata
2017-07-07 18:43:24 -07:00
parent 210c3039c0
commit 85e8bf487e
16 changed files with 20 additions and 6 deletions

View File

@@ -14,6 +14,7 @@
# under the License.
import gettext
import six

View File

@@ -14,6 +14,7 @@
# under the License.
from copy import deepcopy
import requests
import six

View File

@@ -15,9 +15,10 @@
# License for the specific language governing permissions and limitations
# under the License.
from hacking.checks import docstrings
import tokenize
from hacking.checks import docstrings
# TODO(yamahata): enable neutron checking
# from neutron.hacking import checks
from neutron_lib.hacking import checks

View File

@@ -15,6 +15,7 @@
import abc
import copy
import six
import netaddr

View File

@@ -14,6 +14,7 @@
# under the License.
import abc
import six
import stevedore

View File

@@ -16,6 +16,7 @@
import contextlib
import copy
import mock
import webob.exc

View File

@@ -14,6 +14,7 @@
#
import contextlib
from oslo_utils import uuidutils
from neutron.api.v2 import attributes

View File

@@ -14,11 +14,11 @@
# under the License.
#
import mock
from datetime import timedelta
import operator
import mock
from networking_odl.common import constants as odl_const
from networking_odl.db import db
from networking_odl.db import models

View File

@@ -14,9 +14,10 @@
# under the License.
#
import mock
import threading
import mock
from networking_odl.common import constants as odl_const
from networking_odl.db import models
from networking_odl.journal import maintenance

View File

@@ -15,6 +15,7 @@
#
import copy
import mock
from networking_odl.l2gateway import driver

View File

@@ -17,6 +17,7 @@ test_l3_odl
Tests for the L3 service plugin for networking-odl.
"""
import copy
import mock
from neutron.extensions import l3

View File

@@ -15,6 +15,7 @@
import copy
import mock
import testscenarios

View File

@@ -14,8 +14,9 @@
# under the License.
import copy
import datetime
import mock
import operator
import mock
import requests
import testscenarios

View File

@@ -14,10 +14,10 @@
# under the License.
from copy import deepcopy
import mock
from os import path as os_path
from string import Template
import mock
from oslo_serialization import jsonutils
from neutron.plugins.ml2 import driver_api as api

View File

@@ -6,6 +6,7 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
doc8 # Apache-2.0
flake8-import-order==0.12 # LGPLv3
python-subunit>=0.0.18 # Apache-2.0/BSD
sphinx>=1.6.2 # BSD
openstackdocstheme>=1.11.0 # Apache-2.0

View File

@@ -105,6 +105,7 @@ ignore = N530
# H904: Delay string interpolations at logging calls
enable-extensions=H106,H203,H904
exclude=./.*,dist,doc,releasenotes,*lib/python*,*egg,build,tools
import-order-style = pep8
[testenv:bashate]
commands = bash -c "find {toxinidir} \