Skip to content

Commit aa38791

Browse files
committed
WIP
Signed-off-by: Andrea Ricchi <andrea.ricchi@amarulasolutions.com>
1 parent 77687db commit aa38791

3 files changed

Lines changed: 8 additions & 13 deletions

File tree

.clang-tidy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Checks:
1010
readability-*,
1111
-readability-function-cognitive-complexity
1212

13+
WarningsAsErrors: '*'
1314
FormatStyle: file
1415

1516
CheckOptions:

.github/workflows/pre-commit-checks.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,10 @@ repos:
1313
hooks:
1414
- id: clang-format
1515
args: [--style=file]
16+
- repo: local
17+
hooks:
18+
- id: cpplint
19+
name: cpplint
20+
description: Static code analysis of C/C++ files
21+
language: system
22+
entry: run-clang-tidy -config-file .clang-tidy -p build

0 commit comments

Comments
 (0)