From 936299aefc6eadf9cbfec3152b352b321969cfab Mon Sep 17 00:00:00 2001 From: Jon Lockwood Date: Thu, 12 Aug 2021 14:49:00 +0930 Subject: [PATCH] fix(pylint): fix bug introduced in code quality commit #7 --- python/.gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/.gitlab-ci.yml b/python/.gitlab-ci.yml index 5f5acc3..318490b 100644 --- a/python/.gitlab-ci.yml +++ b/python/.gitlab-ci.yml @@ -27,11 +27,11 @@ - echo "[DEBUG] PYLINT_PATH[$PYLINT_PATH]" - PYLINT_RC_PATH=$ROOT_DIR$PYLINT_RC_PATH - echo "[DEBUG] PYLINT_RC_PATH[$PYLINT_RC_PATH]" - - python3 -m pylint --rcfile PYLINT_RC_PATH --exit-zero --output-format=pylint_gitlab.GitlabCodeClimateReporter $PYLINT_PATH > "$CI_PROJECT_DIR/artifacts/$CI_JOB_STAGE/tests/gl-code-quality-report.json" + - python3 -m pylint --rcfile $PYLINT_RC_PATH --exit-zero --output-format=pylint_gitlab.GitlabCodeClimateReporter $PYLINT_PATH > "$CI_PROJECT_DIR/artifacts/$CI_JOB_STAGE/tests/gl-code-quality-report.json" - - python3 -m pylint --rcfile PYLINT_RC_PATH --exit-zero --output-format=pylint_gitlab.GitlabPagesHtmlReporter $PYLINT_PATH > "$CI_PROJECT_DIR/artifacts/$CI_JOB_STAGE/tests/gl-code-quality-report.html" + - python3 -m pylint --rcfile $PYLINT_RC_PATH --exit-zero --output-format=pylint_gitlab.GitlabPagesHtmlReporter $PYLINT_PATH > "$CI_PROJECT_DIR/artifacts/$CI_JOB_STAGE/tests/gl-code-quality-report.html" - - PyPIScore=$(python3 -m pylint --rcfile PYLINT_RC_PATH --exit-zero $PYLINT_PATH | sed -n 's/^Your code has been rated at \([-0-9./]*\).*/\1/p') + - PyPIScore=$(python3 -m pylint --rcfile $PYLINT_RC_PATH --exit-zero $PYLINT_PATH | sed -n 's/^Your code has been rated at \([-0-9./]*\).*/\1/p') - *pylint_badge