ansible: Download CD images for Debian bookworm amd64 and i386
[lttng-ci.git] / scripts / lttng-analyses / pylint.sh
index 426fcc4b6632b6a4e01d02ec2d96544281de8d27..a4b38b0e675cc575c8eb73583a4130cbe50042b1 100755 (executable)
@@ -20,7 +20,7 @@ set -exu
 SRCDIR="src/lttng-analyses"
 
 PYTHON3="python3"
-P3_VERSION=$($PYTHON3 -c "import sys;print(sys.version[:3])")
+P3_VERSION=$($PYTHON3 -c 'import sys;v = sys.version.split()[0].split("."); print("{}.{}".format(v[0], v[1]))')
 
 BABELTRACE_DIR=$WORKSPACE/deps/babeltrace/build
 
@@ -43,10 +43,8 @@ set +ux
 set -ux
 
 pip install --quiet pylint
-pip install --quiet pep8
 
 
 cd "$SRCDIR"
 
-pep8 lttnganalyses | tee "$WORKSPACE/pep8.out"
 pylint -f parseable --ignore="_version.py" --disable=C0111 lttnganalyses | tee "$WORKSPACE/pylint.out"
This page took 0.025105 seconds and 4 git commands to generate.