From dde478db6ddff744d1447ff42d94a2b71148f902 Mon Sep 17 00:00:00 2001 From: Arne Welzel Date: Thu, 17 Apr 2025 15:23:07 +0200 Subject: [PATCH] pre-commit: Ensure testing files have @TEST lines commented --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d0d2c3b7cc..40f8fcb3a4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,6 +12,12 @@ repos: types: [file] exclude: '^(testing/btest/(Baseline|plugins|spicy|scripts)/.*|testing/builtin-plugins/.*)$' + - id: btest-command-commented + name: Check that all BTest command lines are commented out + entry: '^\s*@TEST-' + language: pygrep + files: '^testing/btest/.*$' + - repo: https://github.com/pre-commit/mirrors-clang-format rev: v20.1.0 hooks: