18 lines
396 B
YAML
18 lines
396 B
YAML
# https://woodpecker-ci.org/docs/usage/pipeline-syntax
|
|
pipeline:
|
|
typecheck:
|
|
image: python:latest
|
|
group: linting
|
|
commands:
|
|
- python --version
|
|
- pip install -U pyright --quiet
|
|
- pyright
|
|
|
|
format:
|
|
image: python:latest
|
|
group: linting
|
|
commands:
|
|
- python --version
|
|
- pip install -U black --quiet
|
|
- black --check --diff --color --verbose .
|