Skip to content

feat: add git hooks setup for code quality enforcement#1

Merged
aroff merged 2 commits intomainfrom
feat/rustcla-migration
Jan 17, 2026
Merged

feat: add git hooks setup for code quality enforcement#1
aroff merged 2 commits intomainfrom
feat/rustcla-migration

Conversation

@aroff
Copy link
Copy Markdown
Owner

@aroff aroff commented Jan 17, 2026

Add comprehensive git hooks setup to enforce Rust code quality standards.

Changes

  • Pre-commit hook: Runs formatting, linting, and unit tests before commits
  • Pre-push hook: Runs full test suite and documentation build before pushes
  • Commit-msg hook: Validates conventional commit message format
  • Installation script: Automates hook setup with 🔗 Installing RustCLA Git Hooks
    ==============================
    ✅ Repository structure verified

📋 Installing hooks...
Installing commit-msg...
✅ commit-msg installed

Usage

Contributors can install hooks locally:
🔗 Installing RustCLA Git Hooks

✅ Repository structure verified

📋 Installing hooks...
Installing commit-msg...
✅ commit-msg installed

Hooks can be bypassed with flags when needed.

- Add pre-commit hook with formatting, linting, and unit tests
- Add pre-push hook with full test suite and documentation checks
- Add commit-msg hook with conventional commit validation
- Add installation script for automated hook setup

Hooks enforce Rust code quality standards and mirror CI pipeline checks.
@aroff aroff merged commit bfbea88 into main Jan 17, 2026
1 check passed
@aroff aroff deleted the feat/rustcla-migration branch January 17, 2026 18:30
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