xoxys.podman/.woodpecker/lint.yaml

31 lines
595 B
YAML
Raw Normal View History

2024-02-03 21:33:14 +00:00
---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
- name: ansible-later
image: quay.io/thegeeklab/ansible-later:4
commands:
- ansible-later
environment:
2024-02-03 21:39:58 +00:00
FORCE_COLOR: "1"
2024-02-03 21:33:14 +00:00
- name: python-format
image: docker.io/python:3.12
commands:
- pip install -qq ruff
- ruff format --check --diff .
environment:
2024-02-03 21:39:58 +00:00
PY_COLORS: "1"
2024-02-03 21:33:14 +00:00
- name: python-lint
image: docker.io/python:3.12
commands:
- pip install -qq ruff
- ruff .
environment:
2024-02-03 21:39:58 +00:00
PY_COLORS: "1"