]> git.baikalelectronics.ru Git - uboot.git/commitdiff
CI: Pin pylint version to 2.12.2
authorTom Rini <trini@konsulko.com>
Fri, 25 Mar 2022 12:19:09 +0000 (08:19 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 25 Mar 2022 12:26:01 +0000 (08:26 -0400)
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 <trini@konsulko.com>
.azure-pipelines.yml
.gitlab-ci.yml

index 0f1a1bd86326c0e5f51971463309a5be62619d04..cd54688881d7318b29077ac273bee2fa6ef9d0bf 100644 (file)
@@ -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
index 388e666ec9e3070a0a7796058dc0f5380bb0d16c..7df7e939f5422e30a1b98caf9d5070dc1f138305 100644 (file)
@@ -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