Skip to content

Restructure

Restructure #211

Workflow file for this run

name: Linting
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install uv
run: pip install uv
- name: Sync workspace
# --all-packages is required to include extras from workspace members
# (backend's dev extra holds ruff itself).
run: uv sync --all-packages --all-extras
- name: Ruff check (backend + cli + tests)
# --no-sync prevents uv run's implicit re-sync from dropping member
# extras (it defaults to no extras and would remove ruff).
run: uv run --no-sync ruff check backend/src cli/src backend/tests