Commit 0df9b192 authored by Maximilian Dolling's avatar Maximilian Dolling
Browse files

added linting pipeline

parent 026a2c7c
# Ignore plots # Ignore plots
*.png *.png
# Ignore IDE files
.idea
stages:
- test
test:pylint:
stage: test
allow_failure: true
image: python:3
before_script:
- pip install pylint
script:
- SCORE=$(find . -iname '*.py' -not -path '**/venv/*' -exec pylint {} +)
- echo $SCORE > pylintscore
- SCORE=$(tail -1 pylintscore | head -1)
- SCORE=${SCORE%/*/*}
- SCORE=${SCORE##* }
- echo $SCORE
only:
changes:
- "**/*.py"
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