summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-03-25 08:19:09 -0400
committerTom Rini <[email protected]>2022-03-25 08:26:01 -0400
commite47bbf7e0e160ad8a52927cf3411673413138285 (patch)
tree1d95a7992afe631b989c15f662423f8f8fcb8859
parent3b2d19c838a48350e06d4c12e4d749eec0217f2c (diff)
CI: Pin pylint version to 2.12.2
For consistency in runs, we need to always use the same pylint version. Pin to 2.12.2 as this is what we have been using so far. Signed-off-by: Tom Rini <[email protected]>
-rw-r--r--.azure-pipelines.yml2
-rw-r--r--.gitlab-ci.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 0f1a1bd8632..cd54688881d 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -214,7 +214,7 @@ stages:
cd ${WORK_DIR}
export USER=azure
pip install -r test/py/requirements.txt
- pip install asteval pylint pyopenssl
+ pip install asteval pylint==2.12.2 pyopenssl
export PATH=${PATH}:~/.local/bin
echo "[MASTER]" >> .pylintrc
echo "load-plugins=pylint.extensions.docparams" >> .pylintrc
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 388e666ec9e..7df7e939f54 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -220,7 +220,7 @@ Run pylint:
stage: testsuites
script:
- pip install -r test/py/requirements.txt
- - pip install asteval pylint pyopenssl
+ - pip install asteval pylint==2.12.2 pyopenssl
- export PATH=${PATH}:~/.local/bin
- echo "[MASTER]" >> .pylintrc
- echo "load-plugins=pylint.extensions.docparams" >> .pylintrc