add pylint #15

Merged
mg merged 7 commits from ci into master 2024-05-08 14:49:20 +02:00

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