aboutsummaryrefslogtreecommitdiffstats
path: root/.woodpecker/lint.yml
diff options
context:
space:
mode:
authorMichael Grote2024-05-08 14:49:20 +0200
committerMichael Grote2024-05-08 14:49:20 +0200
commit9c9009162554679e310808582128ff62aa800243 (patch)
tree8e77bad0c96e35e12fdb34d9a4d1fcfec6792ccf /.woodpecker/lint.yml
parent547d6865a7a981ae4ffaef704047fbd94eac2edd (diff)
add pylint (#15)
Reviewed-on: https://git.mgrote.net/container-images/python-api-server/pulls/15 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
Diffstat (limited to '.woodpecker/lint.yml')
-rw-r--r--.woodpecker/lint.yml7
1 files 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