From c20594e3c856e76e3259927c5a2bd8e61d93b494 Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Mon, 23 Mar 2026 09:37:56 -0400 Subject: [PATCH] Add info about pre-commit --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e79b751..89c8ea5 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,10 @@ This repo uses the following tools for code quality: - **deadnix** - Finds unused code in Nix files. - **statix** - Checks Nix code for common issues and style problems. -Pre-commit hooks are configured in `.pre-commit-config.yaml` and run automatically before commits. CI validation is defined in `.github/workflows/validate.yml`. +Pre-commit hooks are configured in `.pre-commit-config.yaml` and run automatically before commits. +Run `pre-commit install` after checkout to make sure it gets used. + +CI validation is defined in `.github/workflows/validate.yml` and mirrors what is done by pre-commit. ## Historical bits