diff options
author | Benedetta Delfino <benedetta.delfino@arm.com> | 2024-03-26 16:26:19 +0000 |
---|---|---|
committer | Benedetta Delfino <benedetta.delfino@arm.com> | 2024-04-23 14:15:17 +0100 |
commit | 4470381a084d2393b36776fcdba684dfd16c2cb6 (patch) | |
tree | e7389ab82b5e7e435cf636b23880fe3d6684087a /.pre-commit-config.yaml | |
parent | 32405c279d2f98c2d40bdbbb7f7306ff12c86cd6 (diff) | |
download | mlia-4470381a084d2393b36776fcdba684dfd16c2cb6.tar.gz |
feat: Add custom pre-commit hook to check for updated Copyright header
Signed-off-by: Benedetta Delfino <benedetta.delfino@arm.com>
Change-Id: Ic6a07ef12868673466a5db0cbce08015b9df4ffc
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b601b03..3788326 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -124,3 +124,11 @@ repos: hooks: - id: commitizen-branch args: [--rev-range, HEAD~1..HEAD] + +- repo: local + hooks: + - id: check-copyright-header + name: Check Copyright header years + entry: python pre_commit_hooks/check_copyright_header.py + language: python + verbose: true |