add pylint #15

Merged
mg merged 7 commits from ci into master 2024-05-08 14:49:20 +02:00
Showing only changes of commit d688b8fd77 - Show all commits

View file

@ -19,13 +19,13 @@ steps:
pylint: pylint:
image: wpengine/pylint:terraform-1.8.2 image: wpengine/pylint:terraform-1.8.2
commands: commands:
- pylint . - pylint app.py
when: when:
- event: [push, pull_request] - event: [push, pull_request]
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
shellcheck: shellcheck:
image: "koalaman/shellcheck-alpine:v0.10.0" image: koalaman/shellcheck-alpine:v0.10.0
commands: commands:
- | - |
find . -type f -not -path './.git/*' -not -path './collections/*' -exec file {} \; | while IFS= read -r line; do find . -type f -not -path './.git/*' -not -path './collections/*' -exec file {} \; | while IFS= read -r line; do