2022-11-08 22:11:12 +01:00
|
|
|
kind: pipeline
|
|
|
|
name: lint
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: markdown lint
|
|
|
|
image: pipelinecomponents/markdownlint:latest
|
|
|
|
commands:
|
|
|
|
- mdl .
|
|
|
|
|
2024-01-04 05:32:21 +01:00
|
|
|
|
|
|
|
- name: python lint with ruff
|
|
|
|
image: pipelinecomponents/ruff
|
2022-11-08 22:11:12 +01:00
|
|
|
commands:
|
2024-01-04 05:32:21 +01:00
|
|
|
- ruff py_hypercube.py
|
|
|
|
|
2024-09-06 20:26:40 +02:00
|
|
|
- name: python lint
|
|
|
|
image: cytopia/pylint
|
|
|
|
commands:
|
|
|
|
- apk add --no-cache py3-pip
|
|
|
|
- pip3 install -r requirements.txt || true
|
|
|
|
- find . -type f -name "*.py" | xargs pylint
|