aboutsummaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorMartin Klozik <martinx.klozik@intel.com>2018-03-12 09:37:49 +0000
committerMartin Klozik <martinx.klozik@intel.com>2018-03-12 09:37:49 +0000
commit8e11925a2b438a7dd4af2e74fad2bc0bc18f5feb (patch)
tree26b618099c8d144f8568264360e76c3f31492c03 /ci
parent4a4ee678acca263ac39a67068822f3ffee8ecaf2 (diff)
pylint: Add pylint into requirements.txt
Pylint installation was part of vsperf installation scripts, which is not following vsperf generic approach to add all required python packages into requirements.txt. It also means, that the same version of pylint is used for verification of all patches at given server. This is causing issues in case, that different versions of pylint are required to verify vsperf code, e.g. older version might be required to verify patches of previous OPNFV release. Pylint with exact version number was added into requirements.txt, so correct version of pylint is used for verification of vspef code. JIRA: VSPERF-563 Change-Id: I48c9cacd87f016e6047ed965728d3b8d63e6461f Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Richard Elias <richardx.elias@intel.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/build-vsperf.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/ci/build-vsperf.sh b/ci/build-vsperf.sh
index a8da6a80..cfe964ef 100755
--- a/ci/build-vsperf.sh
+++ b/ci/build-vsperf.sh
@@ -433,15 +433,6 @@ function dependencies_check() {
sudo apt-get install -y $PACKAGE
fi
done
- # install additional python packages into python environment
- for PACKAGE in "pylint" ; do
- if pip show $PACKAGE &> /dev/null ; then
- printf " %-70s %-6s\n" $PACKAGE "OK"
- else
- printf " %-70s %-6s\n" $PACKAGE "missing"
- pip install $PACKAGE
- fi
- done
echo
fi
}