diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 46686bb..943b5d3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,6 +24,14 @@ repos: entry: "^#define SHOW_MEMORY 1$" language: pygrep types: [c++] + - repo: local + hooks: + - id: sim cache misses check + name: disallow checking in SIM_CACHE_MISSES=1 + description: disallow checking in SIM_CACHE_MISSES=1 + entry: "^#define SIM_CACHE_MISSES 1$" + language: pygrep + types: [c++] - repo: https://github.com/shellcheck-py/shellcheck-py rev: a23f6b85d0fdd5bb9d564e2579e678033debbdff # frozen: v0.10.0.1 hooks: