kuow-mastodon-bot/woodpecker/lint.yml

12 lines
275 B
YAML
Raw Normal View History

2024-02-10 20:10:31 -08:00
when:
- event: pull_request
- event: push
branch: main
2024-02-10 19:03:48 -08:00
steps:
2024-02-10 19:06:15 -08:00
- name: lint
2024-02-10 19:03:48 -08:00
image: python:3-alpine
commands:
- python -m pip install --upgrade pip
- python -m pip install -r requirements.txt
- python -m pip install ruff
- ruff check .