File tree Expand file tree Collapse file tree 1 file changed +25
-5
lines changed
Expand file tree Collapse file tree 1 file changed +25
-5
lines changed Original file line number Diff line number Diff line change 44 # Pre-commit standard hooks (general file cleanup)
55 # ===============================================
66 - repo : https://github.com/pre-commit/pre-commit-hooks
7- rev : v4.6 .0
7+ rev : v5.0 .0
88 hooks :
99 - id : trailing-whitespace # Removes extra whitespace at the end of lines
1010 - id : end-of-file-fixer # Ensures files end with a newline
2424
2525 # YAML files
2626 - repo : https://github.com/lyz-code/yamlfix
27- rev : 1.16.1
27+ rev : 1.17.0
2828 hooks :
2929 - id : yamlfix
3030
@@ -56,7 +56,27 @@ repos:
5656 - repo : https://github.com/astral-sh/ruff-pre-commit
5757 rev : v0.12.0
5858 hooks :
59- - id : ruff # Linter: applies auto-fixable linting rules
59+ - id : ruff
6060 args : [--fix, --exit-zero] # Apply fixes, and exit with 0 even if files were modified
61- - id : ruff-format # Formatter: similar to Black, handles consistent code style
62- args : [] # Check formatting, but do not auto-fix during commit; fail if not formatted
61+ exclude : ^src/a2a/grpc/
62+ - id : ruff-format
63+ exclude : ^src/a2a/grpc/
64+
65+ # Keep uv.lock in sync
66+ - repo : https://github.com/astral-sh/uv-pre-commit
67+ rev : 0.7.13
68+ hooks :
69+ - id : uv-lock
70+
71+ # Commitzen for conventional commit messages
72+ - repo : https://github.com/commitizen-tools/commitizen
73+ rev : v4.8.3
74+ hooks :
75+ - id : commitizen
76+ stages : [commit-msg]
77+
78+ # Gitleaks
79+ - repo : https://github.com/gitleaks/gitleaks
80+ rev : v8.27.2
81+ hooks :
82+ - id : gitleaks
You can’t perform that action at this time.
0 commit comments