From 7d41ea0ef96f787c1ded1094fe49981fab3a72a7 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Fri, 19 Sep 2025 00:56:31 +0000 Subject: [PATCH] Add pre-commit hooks --- .pre-commit-config.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..5b2c5dc --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,11 @@ +repos: + - repo: https://github.com/keith/pre-commit-buildifier + rev: 8.2.1 + hooks: + - id: buildifier + - id: buildifier-lint + + - repo: https://github.com/pre-commit/mirrors-clang-format + rev: v21.1.1 + hooks: + - id: clang-format