summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJohn L. Villalovos <john.l.villalovos@intel.com>2017-02-16 09:35:28 -0800
committerJohn L. Villalovos <john.l.villalovos@intel.com>2017-02-16 09:35:28 -0800
commitd0a2e13f10e517daf90e10e394362545ffcfa6c1 (patch)
treec55b604f330f58505bd0c17807e286cba3957ec9 /tox.ini
parent7135b43d15fe5b81bffb081c67d4798bd56b181e (diff)
downloadironic-d0a2e13f10e517daf90e10e394362545ffcfa6c1.tar.gz
Use flake8-import-order
Use the flake8 plugin flake8-import-order to check import ordering. It can do it automatically and don't need reviewers to check it. Change-Id: I821fd7467f6c5cc1487149297f26e4ad539cf25d
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 02d8d26db..be020996a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -94,6 +94,7 @@ commands = {posargs}
[flake8]
ignore = E129
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build
+import-order-style = pep8
max-complexity=17
# [H106] Don’t put vim configuration in source files.
# [H203] Use assertIs(Not)None to check for None.