1212# extended with the prefixes listed in AGENTS.md
1313# ----------------------------------------------------------------------
1414
15- minimum_pre_commit_version : " 3.7.0" # requires Python‑based hooks v2.0+
15+ minimum_pre_commit_version : " 3.7.0" # requires Python‑based hooks v2.0+
1616
1717repos :
1818 # ---------------------- Core hygiene hooks --------------------------
1919 - repo : https://github.com/pre-commit/pre-commit-hooks
20- rev : cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
20+ rev : cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
2121 hooks :
2222 - id : check-added-large-files
2323 - id : end-of-file-fixer
2626
2727 # ------------------------- Go toolchain -----------------------------
2828 - repo : https://github.com/TekWizely/pre-commit-golang
29- rev : 302c7fd28cdbb62d5fd1e3965fe36e33a5f77803 # frozen: v1.0.0-rc.1
29+ rev : 302c7fd28cdbb62d5fd1e3965fe36e33a5f77803 # frozen: v1.0.0-rc.1
3030 hooks :
3131 - id : go-fmt
3232 - id : go-vet
@@ -37,10 +37,10 @@ repos:
3737
3838 # ------------------------ Security scans ---------------------------
3939 - repo : https://github.com/zricethezav/gitleaks
40- rev : 47218a628da59ef6b24197d15f4b0248ca87f4f0 # frozen: v8.27.2
40+ rev : 47218a628da59ef6b24197d15f4b0248ca87f4f0 # frozen: v8.27.2
4141 hooks :
4242 - id : gitleaks
43- stages : [ pre-commit, pre-push ]
43+ stages : [pre-commit, pre-push]
4444
4545 # ------------------- Commenting rule enforcement -------------------
4646 - repo : local
@@ -50,25 +50,25 @@ repos:
5050 language : system
5151 entry : |
5252 bash -c 'revive -config .revive.toml ./...'
53- types : [ go ]
53+ types : [go ]
5454 fail_fast : true
5555
5656 - id : comment-conventions
5757 name : " custom comment linter (AGENTS.md)"
5858 language : python
5959 entry : scripts/comment_lint.py
60- types : [ go, markdown ]
60+ types : [go, markdown]
6161 pass_filenames : true
6262 additional_dependencies :
6363 - regex==2025.6
6464 - ruamel.yaml==0.18
6565
6666 # --------------------- Commit‑msg validation -----------------------
6767 - repo : https://github.com/alessandrojcm/commitlint-pre-commit-hook
68- rev : 879f5400493f84c8b683bdeb3366a8439ca17858 # frozen: v9.22.0
68+ rev : 879f5400493f84c8b683bdeb3366a8439ca17858 # frozen: v9.22.0
6969 hooks :
7070 - id : commitlint
71- stages : [ commit-msg ]
72- additional_dependencies : [ ' @commitlint/config-conventional' ]
71+ stages : [commit-msg]
72+ additional_dependencies : [" @commitlint/config-conventional" ]
7373
74- default_stages : [ pre-commit, pre-push ]
74+ default_stages : [pre-commit, pre-push]
0 commit comments