aboutsummaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: c71fc687784218e5213f2dbdce3fca51a24f8b80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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
        args: [--allow-multiple-documents]
    -   id: check-case-conflict
-   repo: https://github.com/Lucas-C/pre-commit-hooks
    rev: v1.3.1
    hooks:
    -   id: insert-license
        exclude: sha1\.(cpp|h)$
        files: \.(cpp|h)$
        args:
        - --license-filepath
        - .unreal-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/