mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
pre-commit: Ensure testing files have @TEST lines commented
This commit is contained in:
parent
51f504b38f
commit
dde478db6d
1 changed files with 6 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue