flake8: Specify 'ironic' as name of app
Specify 'ironic' as the name of the application for the flake8-import-order plugin. That way it knows that imports of ironic should come after external libraries. Change-Id: I3e6fb237b9846e8de1a071f3a659c23c44bc7f75
This commit is contained in:
parent
8d7b4319e9
commit
0363e15b7c
1
tox.ini
1
tox.ini
@ -96,6 +96,7 @@ commands = {posargs}
|
|||||||
ignore = E129
|
ignore = E129
|
||||||
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
||||||
import-order-style = pep8
|
import-order-style = pep8
|
||||||
|
application-import-names = ironic
|
||||||
max-complexity=17
|
max-complexity=17
|
||||||
# [H106] Don’t put vim configuration in source files.
|
# [H106] Don’t put vim configuration in source files.
|
||||||
# [H203] Use assertIs(Not)None to check for None.
|
# [H203] Use assertIs(Not)None to check for None.
|
||||||
|
Loading…
Reference in New Issue
Block a user