--- a/.gitlab-ci.yml Mon Nov 25 13:49:58 2019 +0100
+++ b/.gitlab-ci.yml Mon Nov 25 13:55:12 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_apm/ | 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"