xoxys.general/.woodpecker/lint.yml
Robert Kaussow c60a2e9c05
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/unit-test Pipeline was successful
ci/woodpecker/pr/build-package Pipeline was successful
ci/woodpecker/pr/sanity-test Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful
add markdownlint and spellcheck
2023-12-13 10:45:48 +01:00

26 lines
584 B
YAML

---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
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"
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"