Robert Kaussow
1d7240fff6
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/unit-test Pipeline was successful
ci/woodpecker/push/sanity-test Pipeline was successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
26 lines
598 B
YAML
26 lines
598 B
YAML
---
|
|
when:
|
|
- event: [pull_request, tag]
|
|
- event: [push, manual]
|
|
branch:
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
steps:
|
|
- name: check-format
|
|
image: docker.io/library/python:3.12
|
|
commands:
|
|
- pip install poetry -qq
|
|
- poetry install --all-extras --no-root
|
|
- poetry run ruff format --check --diff ./plugins
|
|
environment:
|
|
PY_COLORS: "1"
|
|
|
|
- name: check-coding
|
|
image: docker.io/library/python:3.12
|
|
commands:
|
|
- pip install poetry -qq
|
|
- poetry install --all-extras --no-root
|
|
- poetry run ruff ./plugins
|
|
environment:
|
|
PY_COLORS: "1"
|