# HG changeset patch # User Thierry Florac # Date 1574881234 -3600 # Node ID 25f3738c920e490b6112ae26a30d373a1c403e86 # Parent c13c2aa4451d4ceb08adc9ede86c388c750d21f6 Updated Pylint diff -r c13c2aa4451d -r 25f3738c920e .gitlab-ci.yml --- a/.gitlab-ci.yml Wed Nov 27 19:53:38 2019 +0100 +++ b/.gitlab-ci.yml Wed Nov 27 20:00:34 2019 +0100 @@ -53,7 +53,7 @@ script: - pip install pylint-exit anybadge - mkdir ./pylint - - ./bin/pylint src/pyams_viewlet/ | tee ./pylint/pylint.log || pylint-exit $? + - ./bin/pylint src/pyams_pagelet/ | 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"