-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy path.pre-commit-config.yaml
76 lines (75 loc) · 1.75 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
69
70
71
72
73
74
75
76
---
default_install_hook_types:
- pre-commit
- commit-msg
repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.0.0
hooks:
- id: conventional-pre-commit
stages:
- commit-msg
args:
- "--strict"
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: shellcheck
stages:
- commit-msg
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: end-of-file-fixer
stages:
- commit-msg
- id: trailing-whitespace
stages:
- commit-msg
- id: mixed-line-ending
stages:
- commit-msg
- id: check-byte-order-marker
stages:
- commit-msg
- id: check-executables-have-shebangs
stages:
- commit-msg
- id: check-merge-conflict
stages:
- commit-msg
- id: check-symlinks
stages:
- commit-msg
- id: check-yaml
stages:
- commit-msg
files: .*\.(yaml|yml)$
args:
- "--allow-multiple-documents"
- "--unsafe"
- id: debug-statements
- repo: https://github.com/psf/black
rev: 25.1.0
hooks:
- id: black
stages:
- manual
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.35.1
hooks:
- id: yamllint
stages:
- manual
args:
- >-
-d {extends: default, rules: {line-length: disable},
ignore: [submodules/]}
- repo: https://github.com/ansible-community/ansible-lint
rev: v24.9.2
hooks:
- id: ansible-lint
stages:
- manual
additional_dependencies:
- ansible