run codespell pre-commit hook on staged files only

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29360)

(cherry picked from commit d70b22bf2d)
This commit is contained in:
Dmitry Misharov
2025-12-09 17:39:14 +01:00
committed by Neil Horman
parent 6268be68a4
commit 4ff86b6bd1

View File

@@ -3,7 +3,7 @@ repos:
rev: "v2.4.1"
hooks:
- id: "codespell"
args: ["--config=.codespellrc", "."]
args: ["--config=.codespellrc"]
- repo: "https://github.com/pre-commit/mirrors-clang-format"
rev: "v21.1.6"
hooks: