summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-02-17 11:36:58 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-04-29 06:55:13 +0300
commita6c89d9185d61027dd761af0c05fdbb05e3692fe (patch)
tree88499cb39e2faf9b85c3fe948400fc399d62fe02
parentf886a438ed11468a90ecca9ba8046a6719f0402c (diff)
#824 Add indent_with_spaces hook for source files
-rw-r--r--.pre-commit-config.yaml4
1 files changed, 3 insertions, 1 deletions
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: