summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2016-07-26 10:04:20 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2016-07-26 10:04:20 -0700
commit3de81a93737672062b97b6bb6c78fbc11a462165 (patch)
treedea42aca668f87ccb8d202632fa9a69fab65968a
parenta178610890713122d17dcebb58aa0d5fd236a8bc (diff)
Pin Flake8 to 2.6.2 for python linting
A new version of flake8 recently came out that dropped support for python 2.6 and introduced regressions. Change-Id: I6b91d6feced4d24f71897b66dfb9faeae64ad611 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
-rw-r--r--jjb/releng-macros.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/releng-macros.yaml b/jjb/releng-macros.yaml
index 0c4cb8fff..c14ea6c47 100644
--- a/jjb/releng-macros.yaml
+++ b/jjb/releng-macros.yaml
@@ -340,7 +340,7 @@
source $WORKSPACE/releng_flake8/bin/activate
# install python packages
- pip install flake8
+ pip install "flake8==2.6.2"
# generate and upload lint log
echo "Running flake8 code on $PROJECT ..."