1
+ ---
1
2
repos :
2
- - repo : https://github.com/pre-commit/pre-commit-hooks
3
- rev : v5.0.0
4
- hooks :
5
- - id : check-added-large-files
6
- args : ["--maxkb=800"]
3
+ - hooks :
4
+ - args : ["--maxkb=800"]
5
+ id : check-added-large-files
7
6
- id : check-ast
8
7
- id : check-executables-have-shebangs
9
8
- id : check-json
10
9
- id : check-shebang-scripts-are-executable
11
- - id : check-yaml
12
- args :
13
- - --allow-multiple-documents
14
- - id : detect-private-key
15
- exclude : |
10
+ - args :
11
+ - " --allow-multiple-documents"
12
+ id : check-yaml
13
+ - exclude : |
16
14
(?x)^(
17
15
)$
18
- - id : detect-aws-credentials
19
- args :
20
- - --allow-missing-credentials
21
- - id : end-of-file-fixer
22
- exclude : |
16
+ id: detect-private-key
17
+ - args :
18
+ - " --allow-missing-credentials"
19
+ id : detect-aws-credentials
20
+ - exclude : |
23
21
(?x)^(
24
22
)$
25
- - id : name-tests-test
26
- - id : file-contents-sorter
27
- - id : requirements-txt-fixer
28
- - id : sort-simple-yaml
29
- - id : trailing-whitespace
30
- - id : fix-byte-order-marker
31
- - id : check-builtin-literals
32
- - id : check-case-conflict
23
+ id: end-of-file-fixer
33
24
- id : check-builtin-literals
34
25
- id : check-byte-order-marker
35
26
- id : check-case-conflict
@@ -41,33 +32,73 @@ repos:
41
32
- id : check-xml
42
33
- id : debug-statements
43
34
- id : destroyed-symlinks
35
+ - id : file-contents-sorter
44
36
- id : fix-byte-order-marker
45
37
- id : fix-encoding-pragma
46
38
- id : forbid-new-submodules
47
39
- id : forbid-submodules
48
40
- id : mixed-line-ending
49
- - id : pretty-format-json
50
- args :
51
- - --autofix
52
- - repo : https://github.com/alessandrojcm/commitlint-pre-commit-hook
53
- rev : v9.21.0
54
- hooks :
55
- - id : commitlint
56
- stages : [commit-msg]
57
- additional_dependencies : ["@commitlint/config-conventional"]
58
- - repo : https://github.com/astral-sh/ruff-pre-commit
59
- rev : v0.9.7
60
- hooks :
61
- - id : ruff
62
- args :
63
- - --fix
64
- - --select=I
41
+ - id : name-tests-test
42
+ - id : requirements-txt-fixer
43
+ - id : sort-simple-yaml
44
+ - id : trailing-whitespace
45
+ - args :
46
+ - " --autofix"
47
+ id : pretty-format-json
48
+ repo : https://github.com/pre-commit/pre-commit-hooks
49
+ rev : v5.0.0
50
+ - hooks :
51
+ - args :
52
+ - " --fix"
53
+ - " --select=I"
54
+ id : ruff
65
55
- id : ruff-format
66
- - repo : https://github.com/rhysd/actionlint
67
- rev : v1.7 .7
68
- hooks :
56
+ repo : https://github.com/astral-sh/ruff-pre-commit
57
+ rev : v0.9 .7
58
+ - hooks :
69
59
- id : actionlint
70
- - repo : https://github.com/gruntwork-io/pre-commit
71
- rev : v0.1.24
72
- hooks :
60
+ repo : https://github.com/rhysd/actionlint
61
+ rev : v1.7.7
62
+ - hooks :
73
63
- id : shellcheck
64
+ repo : https://github.com/gruntwork-io/pre-commit
65
+ rev : v0.1.26
66
+ - hooks :
67
+ - args : ["--maxkb=800"]
68
+ id : check-added-large-files
69
+ - id : check-ast
70
+ - id : check-executables-have-shebangs
71
+ - id : check-json
72
+ - id : check-shebang-scripts-are-executable
73
+ - args :
74
+ - " --allow-multiple-documents"
75
+ id : check-yaml
76
+ - exclude : |
77
+ (?x)^(
78
+ )$
79
+ id: detect-private-key
80
+ - args :
81
+ - " --allow-missing-credentials"
82
+ id : detect-aws-credentials
83
+ repo : https://github.com/pre-commit/pre-commit-hooks
84
+ rev : v5.0.0
85
+ - hooks :
86
+ - additional_dependencies : ["@commitlint/config-conventional"]
87
+ id : commitlint
88
+ stages : [commit-msg]
89
+ repo : https://github.com/alessandrojcm/commitlint-pre-commit-hook
90
+ rev : v9.21.0
91
+ - hooks :
92
+ - id : go-fmt
93
+ - id : go-vet
94
+ # - id: go-lint
95
+ - id : go-imports
96
+ - args : [-over=15]
97
+ id : go-cyclo
98
+ - id : validate-toml
99
+ - id : no-go-testing
100
+ - id : go-unit-tests
101
+ - id : go-build
102
+ - id : go-mod-tidy
103
+ repo : https://github.com/dnephin/pre-commit-golang
104
+ rev : v0.5.1
0 commit comments