diff -r d58d443e3683 -r 270c209df927 .gitlab-ci.yml --- a/.gitlab-ci.yml Tue Nov 26 10:09:41 2019 +0100 +++ b/.gitlab-ci.yml Tue Nov 26 10:10:17 2019 +0100 @@ -42,7 +42,7 @@ script: - pip install pylint-exit anybadge - mkdir ./pylint - - ./bin/pylint src/pyams_utils/ | tee ./pylint/pylint.log || pylint-exit $? + - ./bin/pylint src/pyams_template/ | 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"