From b5e9e0f7293eca7099d2fdc160af391e345dbe8c Mon Sep 17 00:00:00 2001 From: kirinnee Date: Wed, 27 Sep 2023 10:45:03 +0800 Subject: [PATCH] fix: pre-commit failing due to not ignoring generated files --- nix/pre-commit.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/pre-commit.nix b/nix/pre-commit.nix index 883bab6..f2373ad 100644 --- a/nix/pre-commit.nix +++ b/nix/pre-commit.nix @@ -7,7 +7,7 @@ pre-commit-lib.run { # formatter treefmt = { enable = true; - excludes = [ "chart/.*(yaml|yml)" "chart/README.md" ]; + excludes = [ "chart/.*(yaml|yml)" "chart/README.md" "Changelog.md" "docs/developer/CommitConventions.md" ]; }; # linters From https://github.com/cachix/pre-commit-hooks.nix