diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f09b5b436..db472d916 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,9 +4,19 @@ repos: hooks: - id: check-yaml - id: end-of-file-fixer + - id: check-added-large-files - id: trailing-whitespace - repo: https://github.com/pre-commit/mirrors-clang-format rev: 'v15.0.7' hooks: - id: clang-format 'types_or': [c++, c] +- repo: local + hooks: + - id: copyright-check + name: copyright-check + entry: ./scripts/copyright.py main --fix + language: script + types: [python] + pass_filenames: false + always_run: true