Skip to content

Lint

Lint #34

Workflow file for this run

permissions:
contents: read
name: Lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install ruff
- name: Run Ruff
run: |
source venv/bin/activate
ruff check src tests