-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
61 lines (53 loc) · 1.65 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
---
default_language_version:
python: python3.12
node: system
repos:
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
hooks:
- id: check-added-large-files
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: trailing-whitespace
args:
- --markdown-linebreak-ext=md
exclude: \.gitignore
- repo: https://github.com/ComPWA/taplo-pre-commit
rev: 23eab0f0eedcbedebff420f5fdfb284744adc7b3 # frozen: v0.9.3
hooks:
- id: taplo-format
- id: taplo-lint
- repo: https://github.com/lyz-code/yamlfix
rev: 8072181c0f2eab9f2dd8db2eb3b9556d7cd0bd74 # frozen: 1.17.0
hooks:
- id: yamlfix
args:
- --config-file
- .yamlfix.toml
- repo: https://github.com/adrienverge/yamllint
rev: 81e9f98ffd059efe8aa9c1b1a42e5cce61b640c6 # frozen: v1.35.1
hooks:
- id: yamllint
args:
- --strict
- repo: https://github.com/sirwart/ripsecrets
rev: 033ec5192b738b6712701be920cba545c2775050 # frozen: v0.1.8
hooks:
- id: ripsecrets
- repo: https://github.com/crate-ci/typos
rev: 685eb3d55be2f85191e8c84acb9f44d7756f84ab # frozen: v1.29.4
hooks:
- id: typos
args: []
- repo: https://github.com/commitizen-tools/commitizen
rev: 27499d727f5ceff802bda34bbda314644824ce06 # frozen: v4.1.0
hooks:
- id: commitizen