# See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.2.0 hooks: #- id: end-of-file-fixer #- id: trailing-whitespace #- id: check-added-large-files - id: mixed-line-ending - id: check-yaml - id: check-case-conflict - repo: https://github.com/Lucas-C/pre-commit-hooks rev: v1.1.13 hooks: - id: insert-license exclude: sha1\.(cpp|h)$ files: \.(cpp|h)$ args: - --license-filepath - .header # defaults to: LICENSE.txt - --comment-style - // # defaults to: # - repo: https://github.com/pre-commit/mirrors-clang-format rev: v13.0.1 hooks: - id: clang-format exclude: ^thirdparty/