From 3de81a93737672062b97b6bb6c78fbc11a462165 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Tue, 26 Jul 2016 10:04:20 -0700 Subject: [PATCH] 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 --- jjb/releng-macros.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ..." -- 2.16.6