--- 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"