Skip to content

Add pre-commit configuration and CI workflow #4

Add pre-commit configuration and CI workflow

Add pre-commit configuration and CI workflow #4

Workflow file for this run

name: pre-commit
on:
pull_request:
branches: [main]
permissions:
contents: read
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v6
with:
python-version: "3.11"
activate-environment: true
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Run pre-commit
run: uv run pre-commit run --all-files