From 0ef7c205d0b1f5545fda7de06051fea8879f036d Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Thu, 29 May 2025 09:11:03 +0200 Subject: [PATCH] .pre-commit-config.yaml: Do not fail cspell if all files are ignored cspell pre-commit hook would fail if the only change was a Cargo.lock change. This fixes it. --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 53e879d09..eccff578b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,6 +18,6 @@ repos: - id: cspell name: Code spell checker (cspell) description: Run cspell to check for spelling errors. - entry: cspell -- + entry: cspell --no-must-find-files -- pass_filenames: true language: system