Commit 2ab81fe
committed
ci: simplify gofmt hook to use native pre-commit file filtering
Let pre-commit pass staged Go files to gofmt instead of scanning the
entire tree. Uses gofmt -w to auto-fix formatting in place.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Generated-by: Claude
rh-pre-commit.version: 2.4.0
rh-pre-commit.check-secrets: ENABLED1 parent c215353 commit 2ab81fe
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
| |||
0 commit comments