11 lines
260 B
YAML
11 lines
260 B
YAML
|
steps:
|
||
|
lint:
|
||
|
image: python:3-alpine
|
||
|
when:
|
||
|
event: pull_request
|
||
|
branch: main
|
||
|
commands:
|
||
|
- python -m pip install --upgrade pip
|
||
|
- python -m pip install -r requirements.txt
|
||
|
- python -m pip install ruff
|
||
|
- ruff check .
|