You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ga...@apache.org on 2021/03/12 17:03:43 UTC
[cloudstack] 04/12: Change Pylint to Pylint3
This is an automated email from the ASF dual-hosted git repository.
gabriel pushed a commit to branch python3-vr
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
commit 3a7a4f672d69dda6d8646597817a29974a197e7c
Author: Gabriel Brascher <ga...@apache.org>
AuthorDate: Sat Sep 26 01:23:50 2020 -0300
Change Pylint to Pylint3
---
systemvm/test/runtests.sh | 4 ++++
tools/travis/before_install.sh | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/systemvm/test/runtests.sh b/systemvm/test/runtests.sh
old mode 100644
new mode 100755
index b4fb5a1..9646b54
--- a/systemvm/test/runtests.sh
+++ b/systemvm/test/runtests.sh
@@ -40,6 +40,10 @@ pyenv versions
pylint3 --disable=R,C,W *.py
pylint3 --disable=R,C,W `find ../debian -name \*.py`
+
+pylint3 --disable=R,C,W *.py
+pylint3 --disable=R,C,W `find ../debian -name \*.py`
+
if [ $? -gt 0 ]
then
echo "pylint failed, please check your code"
diff --git a/tools/travis/before_install.sh b/tools/travis/before_install.sh
index f2ecd97..6b3a12f 100755
--- a/tools/travis/before_install.sh
+++ b/tools/travis/before_install.sh
@@ -81,7 +81,7 @@ if [[ $? -ne 0 ]]; then
echo -e "\napt-get packages failed to install"
fi
-sudo apt-get -q -y -V install freeipmi-common libfreeipmi16 libgcrypt20 libgpg-error-dev libgpg-error0 libopenipmi0 ipmitool libpython-dev libssl-dev libffi-dev python-openssl build-essential --no-install-recommends > /dev/null
+sudo apt-get -q -y -V install freeipmi-common libfreeipmi16 libgcrypt20 libgpg-error-dev libgpg-error0 libopenipmi0 ipmitool libpython-dev libssl-dev libffi-dev pylint3 python-openssl build-essential --no-install-recommends > /dev/null
echo -e "\nIPMI version"
ipmitool -V