Skip to content
Snippets Groups Projects
Commit b162986a authored by borzechof99's avatar borzechof99 :whale2:
Browse files

Update .gitlab-ci.yml

parent 3773e1b9
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,9 @@ pylint:
- echo undefined > public/badges/$CI_JOB_NAME.score
- pip install pylint-gitlab
- pip install -r requirements.txt
- pylint rcfile=~/.pylintrc
- ls
- pwd
- pylint rcfile=.pylintrc
script:
- pylint --exit-zero --output-format=text $(find -type f -name "*.py" ! -path "**/.venv/**") | tee /tmp/pylint.txt
- sed -n 's/^Your code has been rated at \([-0-9.]*\)\/.*/\1/p' /tmp/pylint.txt > public/badges/$CI_JOB_NAME.score
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment