From c551e972971b481383cd36af197b4d588ab77015 Mon Sep 17 00:00:00 2001 From: yhirose Date: Tue, 8 Jul 2025 21:46:03 -0400 Subject: [PATCH] Add .pre-commit-config.yaml --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 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..0c3e543 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,7 @@ +repos: + - repo: https://github.com/pre-commit/mirrors-clang-format + rev: v18.1.8 # 最新バージョンを使用 + hooks: + - id: clang-format + files: \.(cpp|cc|h)$ + args: [-i] # インプレースで修正 \ No newline at end of file