add pylint (#15)
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details

Reviewed-on: #15
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
This commit is contained in:
Michael Grote 2024-05-08 14:49:20 +02:00 committed by Michael Grote
parent 547d6865a7
commit 9c90091625
1 changed files with 4 additions and 3 deletions

View File

@ -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