From 51246ed352807f70f962ec02d70c064b560016ab Mon Sep 17 00:00:00 2001 From: iPromKnight Date: Sun, 10 Mar 2024 03:41:51 +0000 Subject: [PATCH] Ignore producer data dir from codespell hook --- .pre-commit-config.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index beaf75f..1b42f00 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,6 +3,7 @@ repos: rev: v4.5.0 hooks: - id: check-added-large-files + args: ['--maxkb=2048'] - id: check-json - id: check-toml - id: check-xml @@ -15,5 +16,6 @@ repos: rev: v2.2.6 hooks: - id: codespell - exclude: ^src/node/consumer/test/ + exclude: | + (?x)^(src/node/consumer/test/.*|src/producer/Data/.*)$ args: ["-L", "strem,chage"]