Exclude map XML files from non-breaking space hook
This excludes map XML files from the hook to check for non-breaking spaces, as they are quite large, therefore take a long time to process and shouldn't contain "0 A.D." anyway.
This commit is contained in:
parent
e56ebb3f46
commit
efbc165a08
@ -43,7 +43,13 @@ repos:
|
|||||||
language: pygrep
|
language: pygrep
|
||||||
types: [text]
|
types: [text]
|
||||||
files: ^binaries/
|
files: ^binaries/
|
||||||
exclude: (^binaries/data/mods/(mod|public)/art/.*\.xml|\.dae$)
|
exclude: |
|
||||||
|
(?x)(
|
||||||
|
^binaries/data/mods/mod/art/.*\.xml$|
|
||||||
|
^binaries/data/mods/public/art/.*\.xml$|
|
||||||
|
^binaries/data/mods/public/maps/.*\.xml$|
|
||||||
|
\.dae$
|
||||||
|
)
|
||||||
- repo: https://github.com/scop/pre-commit-shfmt
|
- repo: https://github.com/scop/pre-commit-shfmt
|
||||||
rev: v3.9.0-1
|
rev: v3.9.0-1
|
||||||
hooks:
|
hooks:
|
||||||
|
Loading…
Reference in New Issue
Block a user