switch from pre-commit to prek (#2309)

* switch from pre-commit to prek

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix prek tools list in contributing.mdx - include prettier, not pytest

* Use prek-action for caching

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Jeremiah Lowin <153965+jlowin@users.noreply.github.com>
This commit is contained in:
nate nowack 2025-11-02 16:08:36 -06:00 committed by GitHub
commit aba7d762de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 47 additions and 96 deletions

View file

@ -48,7 +48,7 @@ jobs:
exit 1
fi
echo "✅ Lockfile is up to date"
- name: Run pre-commit
run: uv run pre-commit run --all-files
- name: Run prek
uses: j178/prek-action@v1
env:
SKIP: no-commit-to-branch