~brenns10/sc-template

ref: bfed01dfd7e8d00fc8db65f31cbb5b01cb1eeffd sc-template/.pre-commit-config.yaml -rw-r--r-- 293 bytes
bfed01dfStephen Brennan Initial commit of sc-template 1 year, 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
repos:
-   repo: local
    hooks:
    -   id: clang-format
        name: "Run clang-format"
        language: system
        files: "^.*\\.[ch]$"
        entry: clang-format -i
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v2.5.0
    hooks:
    -   id: trailing-whitespace