mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 19:00:11 +01:00
There was unnecessary checking the .svg images (anyway it did not help a lot as mentioned on the #1655 #1652 issues). Regex upgraded so it excludes all .svg. Tested it on the other files and I think it's correct for now.
This commit is contained in:
@@ -23,12 +23,12 @@ repos:
|
||||
- id: check-yaml
|
||||
- id: detect-private-key
|
||||
- id: end-of-file-fixer
|
||||
exclude: '^(.*/fuzzer_corpus/.*)$'
|
||||
exclude: '^(.*/fuzzer_corpus/.*|.*\.svg)$'
|
||||
- id: mixed-line-ending
|
||||
args: ['--fix=lf']
|
||||
exclude: '^(.*/fuzzer_corpus/.*)$'
|
||||
exclude: '^(.*/fuzzer_corpus/.*|.*\.svg)$'
|
||||
- id: trailing-whitespace
|
||||
exclude: '^(.*/fuzzer_corpus/.*|.*/testdata/.*\.golden)$'
|
||||
exclude: '^(.*/fuzzer_corpus/.*|.*/testdata/.*\.golden|.*\.svg)$'
|
||||
- repo: https://github.com/google/pre-commit-tool-hooks
|
||||
rev: cb78d9293306d9f737c64d9702bbaa88e157caaa # frozen: v1.2.2
|
||||
hooks:
|
||||
|
||||
Reference in New Issue
Block a user