From 5f35ac0bdff0203a23f1c966b8ec0feba4cbf72e Mon Sep 17 00:00:00 2001 From: Benjamin Mummery Date: Mon, 2 Mar 2026 13:53:25 +0000 Subject: [PATCH] fix: update commit stages. --- .pre-commit-hooks.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 26d673f..27c0c06 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -14,7 +14,7 @@ entry: add-copyright language: python always_run: true - stages: [commit] + stages: [pre-commit] types_or: - c++ - c# @@ -41,7 +41,7 @@ entry: update-copyright language: python always_run: true - stages: [commit] + stages: [pre-commit] types_or: - c++ - c# @@ -67,7 +67,7 @@ entry: sort-file-contents language: python always_run: true - stages: [commit] + stages: [pre-commit] files: ^.gitignore - id: no-import-testtools-in-src name: Detect test tool imports in src files @@ -75,7 +75,7 @@ entry: no-import-testtools-in-src language: python always_run: true - stages: [commit] + stages: [pre-commit] types_or: [python] - id: americanise name: Correct non-US spellings @@ -83,6 +83,6 @@ entry: americanise language: python always_run: true - stages: [commit] + stages: [pre-commit] types_or: [text] exclude: .*\.lock