From: Michael Jeanson Date: Mon, 14 Sep 2020 14:39:30 +0000 (-0400) Subject: jjb: lttng-analyses: Remove violations plugin integration X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=99018cead6281b3005ee4bc2c0ada2cac177e460;p=lttng-ci.git jjb: lttng-analyses: Remove violations plugin integration Signed-off-by: Michael Jeanson --- diff --git a/jobs/lttng-analyses.yaml b/jobs/lttng-analyses.yaml index f79c637..6377c94 100644 --- a/jobs/lttng-analyses.yaml +++ b/jobs/lttng-analyses.yaml @@ -115,17 +115,6 @@ publishers: - archive: artifacts: 'pep8.out,pylint.out' - - violations: - pep8: - pattern: pep8.out - min: 10 - max: 999 - unstable: 999 - pylint: - pattern: pylint.out - min: 10 - max: 999 - unstable: 999 - email-ext: recipients: '{obj:email_to}' reply-to: ci-notification@lists.lttng.org diff --git a/scripts/lttng-analyses/pylint.sh b/scripts/lttng-analyses/pylint.sh index 9475339..4eb9693 100755 --- a/scripts/lttng-analyses/pylint.sh +++ b/scripts/lttng-analyses/pylint.sh @@ -1,6 +1,6 @@ #!/bin/bash -exu # -# Copyright (C) 2015 - Michael Jeanson +# Copyright (C) 2020 Michael Jeanson # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -35,15 +35,16 @@ fi # Create virtualenv and install necessary packages virtualenv --system-site-packages -p $PYTHON3 "$PYENV_HOME" -set +u +set +ux +# shellcheck disable=SC1090 . "$PYENV_HOME/bin/activate" -set -u +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"