diff options
author | Uwe Klotz <uklotz@mixxx.org> | 2020-06-12 13:30:15 +0200 |
---|---|---|
committer | Uwe Klotz <uklotz@mixxx.org> | 2020-06-12 13:30:28 +0200 |
commit | 0409913ecf836761a25f20081435a32e07af73b3 (patch) | |
tree | 5b867e6cdbd90fe5a2e0a9b758fca38f2e88a138 /.pre-commit-config.yaml | |
parent | e52b13ea8650284b009276407523179d75af2ead (diff) |
Exclude headers generated by Kaitai Struct from pre-commit hook
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4ef0f02b45..2d08bf81e2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,7 +39,8 @@ # Using the `$SKIP` var is preferable to using `git commit --no-verify` # because it won't prevent catching other, unrelated issues. -exclude: ^(lib/|src/test/.*data/).*|res/translations/.*\.ts$ +# _anlz.h/_pdb.h: Header files generated by Kaitai Struct +exclude: ^(lib/|src/test/.*data/).*|res/translations/.*\.ts|src/.*_(anlz|pdb)\.h$ default_language_version: python: python3 repos: |