diff options
author | Rebecca Turner <rbt@sent.as> | 2024-03-27 10:16:16 -0700 |
---|---|---|
committer | Rebecca Turner <rbt@sent.as> | 2024-03-29 22:57:40 -0700 |
commit | 2a98ba8b97c9ff52519633c32cf63716827d6e7c (patch) | |
tree | 7b64c40ad064183cc7bc7afc662890ea567f2136 /.gitignore | |
parent | a4f5bb951dbc6fa4ffa2bb56376b38f38b6e9154 (diff) |
Add `pre-commit` checks
The big ones here are `trim-trailing-whitespace` and `end-of-file-fixer`
(which makes sure that every file ends with exactly one newline
character).
Change-Id: Idca73b640883188f068f9903e013cf0d82aa1123
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index d08d04ccf..2c53ed5ac 100644 --- a/.gitignore +++ b/.gitignore @@ -159,3 +159,5 @@ result-* buildtime.bin .envrc.local +# We generate this with a Nix shell hook +/.pre-commit-config.yaml |