This repository contains shared pre-commit hooks, setup scripts, and development tools used across all Racktopia projects.
Complete guide to installing, configuring, and using pre-commit hooks with racktopia shared tooling.
Detailed reference for all available hooks, their purposes, dependencies, and troubleshooting.
pip install pre-commit
# or: brew install pre-commitSee docs/pre-commit.md for other installation methods.
pre-commit install3. Start coding!
Hooks run automatically and check dependencies as needed.
.markdownlint.json- Shared markdown linting rules.pre-commit-hooks.yaml- Hook definitions for other repositories to consumehooks/- Custom hook scripts for complex validationdocs/- Comprehensive documentation for setup and usage
When adding new hooks or modifying existing ones:
- Update hook scripts in
hooks/directory - Update hook definitions in
.pre-commit-hooks.yaml - Update documentation in
docs/hooks.md - Test thoroughly across different repository types
- Follow the alphabetical ordering convention (except racktopia-standards first)