From a052cf7dbab1ea5c6327d53cc26a72246e69b7b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Verg=C3=A9?= Date: Wed, 28 Jun 2017 15:18:40 +0200 Subject: [PATCH] chore(tests): Add flake8-import-order linter plugin --- .travis.yml | 2 +- setup.cfg | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b66d3c1..34201cf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ python: - 3.6 - nightly install: - - pip install pyyaml flake8 coveralls + - pip install pyyaml flake8 flake8-import-order coveralls - pip install . script: - flake8 . diff --git a/setup.cfg b/setup.cfg index 2a9acf1..4d5142d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,5 @@ [bdist_wheel] universal = 1 + +[flake8] +import-order-style = pep8