infra-rebuild/.woodpecker/style.yaml
June d8b0e80487
All checks were successful
ci/woodpecker/push/style Pipeline was successful
ci: switch CI from Forgejo Actions to Woodpecker CI
2024-06-22 18:03:36 +02:00

19 lines
417 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]
steps:
- name: ruff
image: python
commands:
- pip install ruff
- ruff check .
- name: black
image: pyfound/black
commands:
- black --check --diff .