Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@sei40kr
Copy link
Contributor

@sei40kr sei40kr commented Dec 13, 2025

Summary

  • Add git-hooks.nix integration to the development environment
  • Configure pre-commit hooks for rustfmt and clippy
  • Both hooks use the fenix toolchain for consistency with the build process
  • Add .pre-commit-config.yaml to .gitignore (auto-generated file)

Test plan

  • Run nix develop to verify git-hooks are installed automatically
  • Verify pre-commit hooks are set up correctly
  • Test commit with git-hooks enabled

🤖 Generated with Claude Code

Add git-hooks.nix to automatically run rustfmt and clippy on pre-commit.
Both hooks use the fenix toolchain for consistency with the build process.

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

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@sei40kr sei40kr force-pushed the feat/add-git-hooks-v2 branch from 8d234c4 to 6b0a5d3 Compare December 13, 2025 13:52
@sei40kr sei40kr changed the title feat: add git-hooks with rustfmt and clippy chore: add git-hooks with rustfmt and clippy Dec 13, 2025
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