Bring back precommit check for SHOW_MEMORY

This commit is contained in:
2024-03-08 14:44:35 -08:00
parent 3fb8bf7c3b
commit 733f32b22e
+8
View File
@@ -15,4 +15,12 @@ repos:
description: disallow checking in DEBUG_VERBOSE=1 description: disallow checking in DEBUG_VERBOSE=1
entry: '^#define DEBUG_VERBOSE 1$' entry: '^#define DEBUG_VERBOSE 1$'
language: pygrep language: pygrep
types: [c++]
- repo: local
hooks:
- id: debug verbose check
name: disallow checking in SHOW_MEMORY=1
description: disallow checking in SHOW_MEMORY=1
entry: '^#define SHOW_MEMORY 1$'
language: pygrep
types: [c++] types: [c++]