Skip to content

chore: add lefthook configuration#220

Open
HenryMBaldwin wants to merge 1 commit intoseismicfrom
hbai__h/lefthook
Open

chore: add lefthook configuration#220
HenryMBaldwin wants to merge 1 commit intoseismicfrom
hbai__h/lefthook

Conversation

@HenryMBaldwin
Copy link
Copy Markdown
Contributor

Summary

  • Adds lefthook.yml with git hooks matching CI checks in seismic.yml:
    • pre-commit: cargo +nightly fmt --all (auto-formats code)
    • pre-push: strict clippy on seismic-revm crate (same flags as CI clippy-strict job)

Setup

After merging, each developer needs to run lefthook install once in their local clone.

Add pre-commit and pre-push git hooks via lefthook to catch CI
issues locally before pushing.
@HenryMBaldwin HenryMBaldwin requested a review from cdrappi as a code owner April 13, 2026 21:54
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