Commit 863b5641 authored by Maximilian Dolling's avatar Maximilian Dolling

modified pylint output

parent b031a6c8
......@@ -88,14 +88,14 @@ test:pylint:
before_script:
- pip install pylint
script:
- find . -iname '*.py' -not -path '**/venv/*' -exec pylint --rcfile test/linter/pylintrc {} +
- SCORE=$(find . -iname '*.py' -not -path '**/venv/*' -exec pylint --rcfile test/linter/pylintrc {} + | tail -2 | head -1)
- find . -iname '*.py' -not -path '**/venv/*' -exec pylint --rcfile test/linter/pylintrc {} + > pylintscore.txt
- SCORE=$(tail -2 pylintscore.txt | head -1)
- SCORE=${SCORE%/*/*}
- SCORE=${SCORE##* }
- echo $SCORE
only:
changes:
- "**/*.py"
# only:
# changes:
# - "**/*.py"
test:unittest:
stage: test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment