mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Add info about pre-commit
This commit is contained in:
parent
713fc7fb8c
commit
c20594e3c8
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue