From 289a9079b06563735dc1aa54f67d4c74ce615d86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= Date: Wed, 8 Nov 2017 07:48:31 +0100 Subject: [PATCH] TRAVIS install flake8 3.5 from pip --- build_tools/travis/install.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/build_tools/travis/install.sh b/build_tools/travis/install.sh index 2c8dc0119dc4f..ad402bb35ae02 100755 --- a/build_tools/travis/install.sh +++ b/build_tools/travis/install.sh @@ -124,8 +124,7 @@ except ImportError: fi if [[ "$RUN_FLAKE8" == "true" ]]; then - # flake8 version is temporarily set to 2.5.1 because the next - # version available on conda (3.3.0) has a bug that checks non - # python files and cause non meaningful flake8 errors - conda install --yes flake8=2.5.1 + # flake8 3.5 only available from pip at the time of writing (2017-11-08) + # bug fixed in flake8 3.5 is https://gitlab.com/pycqa/flake8/issues/362 + pip install flake8 fi