This commit is contained in:
Price Hiller 2021-10-06 07:25:18 -05:00
parent ce780a0abc
commit fb27f00329

View File

@ -28,7 +28,7 @@ pylint:
- python3.9 -m pylint --output-format=text asyncdb | 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}"
- echo "Pylint score is ${PYLINT_SCORE}"
artifacts:
paths:
- ./pylint/