-
Notifications
You must be signed in to change notification settings - Fork 13
/
.pre-commit-config.yaml
68 lines (68 loc) · 2.36 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
---
fail_fast: false
repos:
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v5.0.0"
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
args: [--fix, "lf"]
# TODO disable until we can skip on merge commits to main/master/devel
# - id: no-commit-to-branch
# args: [--branch, main, --branch, master, --branch, devel]
- id: trailing-whitespace
exclude: |
(?x)(
\.diff$|
\.patch$
)
- repo: https://github.com/adrienverge/yamllint
rev: "v1.35.1"
hooks:
- id: yamllint
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
hooks:
- id: shellcheck
exclude: |
(?x)(
buildsys/bamboo.sh|
buildsys/deps/bin/sstDep_dramsim3_stabledevel.sh|
buildsys/deps/bin/sstDep_dramsim_masterlatest.sh|
buildsys/deps/bin/sstDep_dramsim_r4b00b22.sh|
buildsys/deps/bin/sstDep_dramsim_stabledevel.sh|
buildsys/deps/bin/sstDep_dramsim_static.sh|
buildsys/deps/bin/sstDep_dramsim_v2.2.1.sh|
buildsys/deps/bin/sstDep_dramsim_v2.2.2.sh|
buildsys/deps/bin/sstDep_dramsim_v2.2.sh|
buildsys/deps/bin/sstDep_goblin_hmcsim_stabledevel.sh|
buildsys/deps/bin/sstDep_GPGPUSim.sh|
buildsys/deps/bin/sstDep_hbm_dramsim2_stabledevel.sh|
buildsys/deps/bin/sstDep_hybridsim.sh|
buildsys/deps/bin/sstDep_nvdimmsim.sh|
buildsys/deps/bin/sstDep_ramulator_stabledevel.sh|
test/utilities/shunit2/|
test/include/testSubroutines.sh|
test/testSuites/testSuite_gpgpu.sh|
test/testSuites/testSuite_macro.sh|
test/utilities/moduleex.sh|
test/utilities/TimeoutEx.sh
)
- repo: https://github.com/Mateusz-Grzelinski/actionlint-py
rev: "v1.7.4.20"
hooks:
- id: actionlint
- repo: https://github.com/woodruffw/zizmor-pre-commit
rev: v0.8.0
hooks:
- id: zizmor
args: [--persona=pedantic]