diff --git a/test-requirements.txt b/test-requirements.txt index 890c0643c..cf5abb091 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,6 +3,7 @@ # process, which may cause wedges in the gate later. hacking>=3.1.0,<3.2.0 # Apache-2.0 +flake8-import-order # LGPLv3 coverage>=5.2.1 # Apache-2.0 ddt>=1.4.1 # MIT oslotest>=4.4.1 # Apache-2.0 diff --git a/tox.ini b/tox.ini index c1d2015ee..d370d2a0f 100644 --- a/tox.ini +++ b/tox.ini @@ -113,6 +113,8 @@ enable-extensions=H106,H203,H204,H205 builtins = _ exclude=.venv,.git,.tox,dist,*lib/python*,*egg,build max-complexity=30 +application-import-names = os_brick +import-order-style = pep8 [doc8] ignore-path=.tox,*.egg-info,doc/src/api,doc/source/drivers.rst,doc/build,.eggs/*/EGG-INFO/*.txt,doc/source/configuration/tables,./*.txt,releasenotes/build