infra-rebuild/.woodpecker/style.yaml
June 8295926cf9
Some checks failed
ci/woodpecker/push/style Pipeline was successful
ci/woodpecker/tag/style Pipeline failed
ci/woodpecker/tag/release Pipeline was successful
ci test
2024-06-23 21:06:12 +02:00

19 lines
422 B
YAML

# Links & Resources
# - https://hub.docker.com/_/python
# - https://docs.astral.sh/ruff/installation/
# - https://black.readthedocs.io/en/stable/usage_and_configuration/black_docker_image.html
when:
event: [push, pull_request, tag]
steps:
- name: ruff
image: python
commands:
- pip install ruff
- ruff check .
- name: black
image: pyfound/black
commands:
- black --check --diff .