diff options
author | 2023-03-17 14:59:24 +0100 | |
---|---|---|
committer | 2023-03-20 10:55:06 +0100 | |
commit | 40cfa2beecdd6be230848104b6307a87daba67d7 (patch) | |
tree | 4c39e832869a92c96b06fef7dc9fb9bc09f96aa0 /.pre-commit-config.yaml | |
parent | ac55c054804657e4e3503cfe668c3a8ef23c424c (diff) |
Run pre-commit in the Xtesting gates
Change-Id: I691d0982b8e8f70afce622950c6b27a47e2bb417
Co-authored-by: Guillaume Lambert <guillaume.lambert@orange.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit d3414f80fa9a89cb5df9c06b94171ad6c3a57f84)
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..a2e0d4c6 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,14 @@ +--- +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: trailing-whitespace + exclude: '.patch$' + # trailing blanks shall not preferably be fixed in patch files + - repo: https://github.com/Lucas-C/pre-commit-hooks + rev: v1.4.2 + hooks: + - id: remove-tabs + stages: [commit] + exclude: '^(.git/|docs/make.bat|docs/Makefile|)' |