Skip to content

Commit

Permalink
[pre-commit] Ignore git patch files on trailing-whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
bilke committed Oct 24, 2023
1 parent 8bff949 commit 186fd0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repos:
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md, --markdown-linebreak-ext=pandoc]
exclude: "^ThirdParty/.*|^Tests/Data/.*|^web/static|^Documentation/.vale/.*"
exclude: "^ThirdParty/.*|^Tests/Data/.*|^web/static|^Documentation/.vale/.*|.*\\.patch"
- id: check-added-large-files
args: [--maxkb 1024]
- id: check-merge-conflict
Expand Down

0 comments on commit 186fd0c

Please sign in to comment.