python/.woodpecker/linting.yml

18 lines
403 B
YAML
Raw Normal View History

2022-09-12 17:31:22 +02:00
# https://woodpecker-ci.org/docs/usage/pipeline-syntax
pipeline:
typecheck:
image: python:latest
group: linting
commands:
- python --version
- pip install -U pyright --quiet
- pyright woodpeckerpy/main.py
format:
image: python:latest
group: linting
commands:
- python --version
- pip install -U black --quiet
- black woodpeckerpy/main.py