From 2a98ba8b97c9ff52519633c32cf63716827d6e7c Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Wed, 27 Mar 2024 10:16:16 -0700 Subject: 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 --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) (limited to '.gitignore') 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 -- cgit v1.2.3