TRAVIS install flake8 3.5 from pip
@@ -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
