Skip to content

Replace pre-commit with prek and mypy with ty#13

Merged
wckdouglas merged 2 commits intomainfrom
use-prek
Jan 12, 2026
Merged

Replace pre-commit with prek and mypy with ty#13
wckdouglas merged 2 commits intomainfrom
use-prek

Conversation

@wckdouglas
Copy link
Owner

@wckdouglas wckdouglas commented Jan 12, 2026

Summary

  • Replace pre-commit with prek, a Rust-based drop-in replacement that is faster and uses less disk space
  • Replace mypy with ty, Astral's Rust-based type checker that is significantly faster

Test plan

  • Run rye sync to verify dependencies install correctly
  • Run prek install to set up git hooks
  • Commit successfully runs all hooks via prek
  • Run ty check src/ridgeplot - all checks passed

🤖 Generated with Claude Code

prek is a Rust-based drop-in replacement that is faster
and uses less disk space.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions
Copy link

Coverage report

This PR does not seem to contain any modification to coverable code.

ty is Astral's Rust-based type checker that is significantly
faster than mypy.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@wckdouglas wckdouglas changed the title Replace pre-commit with prek Replace pre-commit with prek and mypy with ty Jan 12, 2026
@wckdouglas wckdouglas merged commit 80df2ff into main Jan 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant