diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2f9c120..5f3fcc1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,4 +15,12 @@ repos: description: disallow checking in DEBUG_VERBOSE=1 entry: '^#define DEBUG_VERBOSE 1$' 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++] \ No newline at end of file