Merge "Add pep8 import order check"

This commit is contained in:
Zuul 2020-05-15 18:59:19 +00:00 committed by Gerrit Code Review
commit b3100cd30b
5 changed files with 7 additions and 2 deletions

View File

@ -7,6 +7,7 @@ dulwich==0.15.0
extras==1.0.0
fixtures==3.0.0
flake8==2.5.5
flake8-import-order==0.17.1
hacking==3.0.0
imagesize==0.7.1
iso8601==0.1.11

View File

@ -14,8 +14,8 @@
# under the License.
import json
import mock
import mock
from oslotest.base import BaseTestCase
import sushy
from sushy.resources.manager import manager

View File

@ -14,8 +14,8 @@
# under the License.
import json
import mock
import mock
from oslotest.base import BaseTestCase
from sushy import main

View File

@ -12,6 +12,7 @@ oslotest>=3.2.0 # Apache-2.0
stestr>=2.0.0 # Apache-2.0
testscenarios>=0.4 # Apache-2.0/BSD
testtools>=2.2.0 # MIT
flake8-import-order>=0.17.1 # LGPLv3
# releasenotes
reno>=2.5.0 # Apache-2.0

View File

@ -60,6 +60,9 @@ ignore = E123,E125
enable-extensions=H106,H203,H204,H205,H210,H904
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
import-order-style = pep8
application-import-names = sushy_oem_idrac
filename = *.py
[testenv:lower-constraints]
deps =