Skip to content

Commit

Permalink
Add/cleanup hook names
Browse files Browse the repository at this point in the history
This commit adds names to hooks without a name and cleans up existing
hook names.

Signed-off-by: Bryan Cox <brcox@redhat.com>
  • Loading branch information
bryan-cox committed Dec 10, 2024
1 parent 62b41ce commit fa9fc95
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ repos:
rev: v5.0.0
hooks:
- id: check-merge-conflict
name: Check for merge conflict strings
stages: [pre-commit]
- id: check-yaml
name: Check yaml syntax
stages: [pre-commit]
- id: trailing-whitespace
name: Trim all whitespace from end of lines
stages: [pre-commit]
args:
- --markdown-linebreak-ext=md
Expand All @@ -22,7 +25,7 @@ repos:
language: system
stages: [pre-commit]
- id: cpo-containerfiles-in-sync
name: cpo-containerfiles-in-sync
name: Keep cpo-containerfiles-in-sync
entry: ./hack/tools/git-hooks/cpo-containerfiles-in-sync.sh
language: script
pass_filenames: false
Expand Down

0 comments on commit fa9fc95

Please sign in to comment.