From eff4eecdf9c6ab18fa74d943ef45910591c47e9f Mon Sep 17 00:00:00 2001 From: Christian Dreher <c.dreher@kit.edu> Date: Fri, 20 Jan 2023 14:18:52 +0100 Subject: [PATCH] chore: Restore file tree skeleton --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 25d4124f5..b3c080073 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,6 +34,8 @@ pylint: stage: lint before_script: - pip install pylint pylint-pytest pylint-gitlab anybadge + - mkdir -p public/badges public/lint + - echo undefined > public/badges/$CI_JOB_NAME.score 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 -- GitLab