2022-11-08 22:11:12 +01:00
|
|
|
kind: pipeline
|
|
|
|
name: lint
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: markdown lint
|
|
|
|
image: pipelinecomponents/markdownlint:latest
|
|
|
|
commands:
|
|
|
|
- mdl .
|
|
|
|
|
|
|
|
- name: python lint
|
|
|
|
image: cytopia/pylint
|
|
|
|
commands:
|
2022-11-09 00:18:27 +01:00
|
|
|
- apk add --no-cache py3-pip
|
|
|
|
- pip3 install -r requirements.txt
|
2022-11-08 22:11:12 +01:00
|
|
|
- find . -type f -name "*.py" | xargs pylint
|