From a6c89d9185d61027dd761af0c05fdbb05e3692fe Mon Sep 17 00:00:00 2001 From: Andrey Lihatskiy Date: Sat, 17 Feb 2024 11:36:58 +0200 Subject: #824 Add indent_with_spaces hook for source files --- .pre-commit-config.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.pre-commit-config.yaml') diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fe7dfbac7a..d40f02dc0c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/secondlife/git-hooks.git - rev: v1.0.0 + rev: v1.0.2 hooks: - id: opensource-license - id: llsd @@ -9,6 +9,8 @@ repos: - id: end-of-file files: \.(cpp|c|h|py|glsl|cmake|txt)$ exclude: language.txt + - id: indent-with-spaces + files: \.(cpp|c|h|inl|py|glsl|cmake)$ - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: -- cgit v1.2.3