# HG changeset patch # User Thierry Florac # Date 1574967159 -3600 # Node ID 5493d31336da085ec8f62a73c7183501eda26fba # Parent 6ee76a196289e4e9f4df498be426f16c8cc2ae0d Updated Pylint task diff -r 6ee76a196289 -r 5493d31336da .gitlab-ci.yml --- a/.gitlab-ci.yml Thu Nov 28 19:20:49 2019 +0100 +++ b/.gitlab-ci.yml Thu Nov 28 19:52:39 2019 +0100 @@ -53,7 +53,7 @@ script: - pip install pylint-exit anybadge - mkdir ./pylint - - ./bin/pylint src/pyams_apm/ | tee ./pylint/pylint.log || pylint-exit $? + - ./bin/pylint src/pyams_zmq/ | tee ./pylint/pylint.log || pylint-exit $? - PYLINT_SCORE=$(sed -n 's/^Your code has been rated at \([-0-9.]*\)\/.*/\1/p' ./pylint/pylint.log) - anybadge --label=Pylint --file=./pylint/pylint.svg --value=$PYLINT_SCORE 2=red 4=orange 8=yellow 10=green - echo "Pylint score is $PYLINT_SCORE"