summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: fe7dfbac7aa7cc3492623222177efec293bf1af5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
repos:
  - repo: https://github.com/secondlife/git-hooks.git 
    rev: v1.0.0
    hooks:
      - id: opensource-license
      - id: llsd
      - id: no-trigraphs
      - id: copyright
      - id: end-of-file
        files: \.(cpp|c|h|py|glsl|cmake|txt)$
        exclude: language.txt
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.4.0
    hooks:
      - id: check-xml
      - id: mixed-line-ending