Skip to content

Replace pre-commit with prek in CI #10192

Replace pre-commit with prek in CI

Replace pre-commit with prek in CI #10192

Workflow file for this run

name: Lint PEPs
on: [push, pull_request, workflow_dispatch]
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
FORCE_COLOR: 1
RUFF_OUTPUT_FORMAT: github
jobs:
lint:
name: Run pre-commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Run pre-commit hooks
uses: j178/prek-action@v1
- name: Check spelling
uses: j178/prek-action@v1
continue-on-error: true
with:
extra_args: --all-files --hook-stage manual codespell