From 9c9009162554679e310808582128ff62aa800243 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 8 May 2024 14:49:20 +0200 Subject: [PATCH] add pylint (#15) Reviewed-on: https://git.mgrote.net/container-images/python-api-server/pulls/15 Co-authored-by: Michael Grote Co-committed-by: Michael Grote --- .woodpecker/lint.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 199fc63..b5afd67 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -17,15 +17,16 @@ steps: evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' pylint: - image: wpengine/pylint:terraform-1.8.2 + image: "registry.mgrote.net/pylint:master" commands: - - pylint . + - pip3 install --no-cache-dir --break-system-packages -r requirements.txt + - pylint app.py when: - event: [push, pull_request] evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' shellcheck: - image: "koalaman/shellcheck-alpine:v0.10.0" + image: koalaman/shellcheck-alpine:v0.10.0 commands: - | find . -type f -not -path './.git/*' -not -path './collections/*' -exec file {} \; | while IFS= read -r line; do