Update lint config
This commit is contained in:
parent
bd1ba5b07a
commit
483ed105c3
1 changed files with 4 additions and 4 deletions
12
woodpecker/lint.yml
Normal file
12
woodpecker/lint.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
when:
|
||||
- event: pull_request
|
||||
- event: push
|
||||
branch: main
|
||||
steps:
|
||||
- name: lint
|
||||
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 .
|
Loading…
Add table
Add a link
Reference in a new issue