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 4
4
# Pre-commit standard hooks (general file cleanup)
5
5
# ===============================================
6
6
- repo : https://github.com/pre-commit/pre-commit-hooks
7
- rev : v4.6 .0
7
+ rev : v5.0 .0
8
8
hooks :
9
9
- id : trailing-whitespace # Removes extra whitespace at the end of lines
10
10
- id : end-of-file-fixer # Ensures files end with a newline
24
24
25
25
# YAML files
26
26
- repo : https://github.com/lyz-code/yamlfix
27
- rev : 1.16.1
27
+ rev : 1.17.0
28
28
hooks :
29
29
- id : yamlfix
30
30
@@ -56,7 +56,27 @@ repos:
56
56
- repo : https://github.com/astral-sh/ruff-pre-commit
57
57
rev : v0.12.0
58
58
hooks :
59
- - id : ruff # Linter: applies auto-fixable linting rules
59
+ - id : ruff
60
60
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