repos:
  - repo: https://github.com/pre-commit/mirrors-clang-format
    rev: "v22.1.4"
    hooks:
      - id: clang-format
        args: ["--style=file"]
        types_or: ["c++", "c"]
        exclude: '^third_party/.*$'
