diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b06629896ed..c92e9ad0dce 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,6 +34,7 @@ repos: hooks: - id: clang-format types_or: [c, c++] + exclude: ^.*\/build_opt\.h$ - repo: https://github.com/psf/black-pre-commit-mirror rev: "22.10.0" hooks: