forked from Tulip-Dev/tulip
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
68 lines (63 loc) · 1.55 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
repos:
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: "v18.1.8"
hooks:
- id: clang-format
files: '\.(cpp|c|cxx|h)$'
types: [file]
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- id: cmake-format
files: '(CMakeLists\.txt|\.cmake)$'
types: [file]
additional_dependencies: [pyyaml]
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
name: Check source code spelling
stages: [commit]
args:
- -L lod
- -L SOM
- -L som
- -L thirdparty
- -L assertIn
- -L inout
- -L nin
- -L HSI
- -L siz
- -L readD
- -L writeD
- -L nd
- -L inH
- -L Bu
- -L eNew
- -L tesselator
- -L Tesselation
- -L somme
- -L Pich
- -L Brin
- -L socio-economic
- -L ist
- -S *.json
- -S *.api
- -S *.css
- -S *.js
- -S *.gexf
- -S *.ui
- -S *.net
- -S doc/python/tabulate.py
- id: codespell
name: Check commit message spelling
stages: [commit-msg]
- repo: local
hooks:
- id: update-license-years
name: update-license-years
entry: bash
args: [./utils/git-hooks/pre-commit-license-years]
pass_filenames: false
language: system
exclude: ^thirdparty/