Skip to content
Snippets Groups Projects
Commit 7dc58745 authored by Saralegui Vallejo, Unai's avatar Saralegui Vallejo, Unai
Browse files

Update pylint.yml

parent ccc82222
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ pylint:
- source $VIRTUALENV_NAME/bin/activate
- mkdir ./pylint
- pip install pylint pylint-exit anybadge --extra-index-url $ACR_PYPI_INDEX_URL
- pylint -d C0301 -d R0913 --output-format=text $MODULE_FOLDER | tee ./pylint/pylint.log || pylint-exit $?
- pylint -d C0301 -d R0913 --extension-pkg-whitelist='pydantic' --output-format=text $MODULE_FOLDER | 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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment