diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-03-12 15:07:09 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-03-15 15:32:50 +0100 |
commit | e52035914799f581dd374b8c164f029b18128d5e (patch) | |
tree | 5a8e43c9a2fa4c9f38c9351f57a697bfd021b712 /.pre-commit-config.yaml | |
parent | 89f70e98d209563abb4dbc1f8cd5d76c81eb7940 (diff) | |
download | redot-engine-e52035914799f581dd374b8c164f029b18128d5e.tar.gz |
Pre-commit: Fix `copyright_headers.py` to run on all relevant files
It was only running on the first file passed by pre-commit, instead of all.
Fixes compatibility with Windows paths to get the basename.
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9e9da655cc..7122363f77 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,10 +39,10 @@ repos: entry: python3 misc/scripts/copyright_headers.py exclude: | (?x)^( - tests/python_build.*| .*thirdparty.*| - .*platform/android/java/lib/src/com.*| .*-so_wrap.*| + core/math/bvh_.*\.inc$| + platform/android/java/lib/src/com.*| platform/android/java/lib/src/org/godotengine/godot/gl/GLSurfaceView.*| platform/android/java/lib/src/org/godotengine/godot/gl/EGLLogWrapper.*| platform/android/java/lib/src/org/godotengine/godot/utils/ProcessPhoenix.* |