👷 Run Ruff linter on back-end pull requests
All checks were successful
ci/woodpecker/manual/lint Pipeline was successful
All checks were successful
ci/woodpecker/manual/lint Pipeline was successful
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
pipeline:
|
||||
first-job:
|
||||
image: busybox
|
||||
commands:
|
||||
- echo "first run"
|
||||
|
9
backend/.woodpecker/.lint.yaml
Normal file
9
backend/.woodpecker/.lint.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
steps:
|
||||
- name: ruff
|
||||
image: python:3.12-alpine
|
||||
commands:
|
||||
- pip install ruff
|
||||
- ruff . --format github
|
||||
when:
|
||||
- event: pull_request
|
||||
path: 'backend/**'
|
Reference in New Issue
Block a user