~brenns10/sc-regex

343fb27555dc9159e5e33dce11c2e61b98ebce8d — Stephen Brennan 6 months ago 8758a07
Update files from sc-template
2 files changed, 16 insertions(+), 0 deletions(-)

M .clang-format
A .pre-commit-config.yaml
M .clang-format => .clang-format +4 -0
@@ 3,6 3,10 @@ IndentWidth: 8
UseTab: ForIndentation
BreakBeforeBraces: Linux
AllowShortIfStatementsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
IndentCaseLabels: false
ContinuationIndentWidth: 8
Cpp11BracedListStyle: false
AlignConsecutiveMacros: true
BraceWrapping:
  AfterEnum: true

A .pre-commit-config.yaml => .pre-commit-config.yaml +12 -0
@@ 0,0 1,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