-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.pre-commit-config.yaml
38 lines (35 loc) · 1.13 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
# .pre-commit-config.yaml
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v5.0.0"
hooks:
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-toml
- id: check-yaml
args: [--allow-multiple-documents]
- id: debug-statements
- id: end-of-file-fixer
- id: no-commit-to-branch
- id: trailing-whitespace
- repo: "https://github.com/syntaqx/git-hooks"
rev: "v0.0.18"
hooks:
- id: shfmt
exclude: (^bin/activate-hermit|^bin/hermit)
- id: shellcheck
exclude: (^bin/activate-hermit|^bin/hermit)
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: "0.30.0"
hooks:
- id: check-buildkite
files: (^.buildkite/pipeline.yml$)
- repo: https://github.com/jmlrt/check-yamlschema
rev: "v0.0.3"
hooks:
- id: check-yamlschema
# check-jsonschema doesn't support multi-docs yaml file
# https://github.com/python-jsonschema/check-jsonschema/issues/222
files: ^catalog-info.yaml$