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

Update pylint.yml download dependencies from artifactory

parent 5834265b
Branches
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ pylint:
script:
- source $VIRTUALENV_NAME/bin/activate
- mkdir ./pylint
- pip install pylint pylint-exit anybadge
- pip install pylint pylint-exit anybadge --extra-index-url $ACR_PYPI_INDEX_URL
- pylint -d C0301 --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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment