Skip to content

Lint & Format with Ruff #148

Lint & Format with Ruff

Lint & Format with Ruff #148

Workflow file for this run

name: Lint with ruff
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Lint with ruff
run: ruff check
- name: Format with ruff
run: ruff format --check