Upgrade flake8-import-order version to 0.17.1
Full py3 compatible version. Add all Python3 modules to stdlib list. Also includes fix to an enum34 dependency bug. Change-Id: Ie260ace9bc1d8d5bc89e346c5eb4007fbbed2d14
This commit is contained in:
parent
41886d8463
commit
556ce37df6
@ -19,10 +19,10 @@ import csv
|
|||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import yaml
|
|
||||||
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
|
import yaml
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import shade
|
import shade
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import json
|
import json
|
||||||
|
|
||||||
import yaml
|
import yaml
|
||||||
|
|
||||||
from bifrost.tests import base
|
from bifrost.tests import base
|
||||||
|
@ -22,7 +22,6 @@ Tests for `inventory` module.
|
|||||||
from unittest import mock
|
from unittest import mock
|
||||||
|
|
||||||
from bifrost import inventory
|
from bifrost import inventory
|
||||||
|
|
||||||
from bifrost.tests import base
|
from bifrost.tests import base
|
||||||
|
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@ dulwich==0.19.0
|
|||||||
extras==1.0.0
|
extras==1.0.0
|
||||||
fixtures==3.0.0
|
fixtures==3.0.0
|
||||||
flake8==2.5.5
|
flake8==2.5.5
|
||||||
|
flake8-import-order==0.17.1
|
||||||
hacking==0.12.0
|
hacking==0.12.0
|
||||||
idna==2.6
|
idna==2.6
|
||||||
imagesize==1.0.0
|
imagesize==1.0.0
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
import csv
|
import csv
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
@ -13,3 +13,5 @@ testscenarios>=0.4 # Apache-2.0/BSD
|
|||||||
testtools>=2.2.0 # MIT
|
testtools>=2.2.0 # MIT
|
||||||
PyYAML>=3.12 # MIT
|
PyYAML>=3.12 # MIT
|
||||||
Pygments>=2.2.0 # BSD license
|
Pygments>=2.2.0 # BSD license
|
||||||
|
flake8-import-order>=0.17.1 # LGPLv3
|
||||||
|
|
||||||
|
3
tox.ini
3
tox.ini
@ -62,6 +62,9 @@ ignore = F403,H102,H303,W504
|
|||||||
# [H106] Don't put vim configuration in source files.
|
# [H106] Don't put vim configuration in source files.
|
||||||
enable-extensions=H106
|
enable-extensions=H106
|
||||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,os_ironic.py,os_ironic_node.py,os_ironic_inspect.py,os_keystone_service.py
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,os_ironic.py,os_ironic_node.py,os_ironic_inspect.py,os_keystone_service.py
|
||||||
|
import-order-style = pep8
|
||||||
|
application-import-names = bifrost
|
||||||
|
filename = *.py
|
||||||
|
|
||||||
[testenv:lower-constraints]
|
[testenv:lower-constraints]
|
||||||
deps =
|
deps =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user