Pin Flake8 to 2.6.2 for python linting 67/17567/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Tue, 26 Jul 2016 17:04:20 +0000 (10:04 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Tue, 26 Jul 2016 17:04:20 +0000 (10:04 -0700)
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>
jjb/releng-macros.yaml

index 0c4cb8f..c14ea6c 100644 (file)
             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 ..."