Merge pull request #613 from genebean/update_readme

Add info about pre-commit
This commit is contained in:
Gene Liverman 2026-03-23 09:39:53 -04:00 committed by GitHub
commit 878f4dbcbb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,7 +39,10 @@ This repo uses the following tools for code quality:
- **deadnix** - Finds unused code in Nix files. - **deadnix** - Finds unused code in Nix files.
- **statix** - Checks Nix code for common issues and style problems. - **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 ## Historical bits