From 99018cead6281b3005ee4bc2c0ada2cac177e460 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 14 Sep 2020 10:39:30 -0400 Subject: [PATCH] jjb: lttng-analyses: Remove violations plugin integration Signed-off-by: Michael Jeanson --- jobs/lttng-analyses.yaml | 11 ----------- scripts/lttng-analyses/pylint.sh | 9 +++++---- 2 files changed, 5 insertions(+), 15 deletions(-) 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" -- 2.34.1