add pylint (#15)
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:
parent
547d6865a7
commit
9c90091625
1 changed files with 4 additions and 3 deletions
|
@ -17,15 +17,16 @@ steps:
|
||||||
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
||||||
|
|
||||||
pylint:
|
pylint:
|
||||||
image: wpengine/pylint:terraform-1.8.2
|
image: "registry.mgrote.net/pylint:master"
|
||||||
commands:
|
commands:
|
||||||
- pylint .
|
- pip3 install --no-cache-dir --break-system-packages -r requirements.txt
|
||||||
|
- 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
|
||||||
|
|
Reference in a new issue