We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8610937 commit 8d975feCopy full SHA for 8d975fe
.pre-commit-config.yaml
@@ -19,16 +19,6 @@ repos:
19
hooks:
20
- id: clang-format
21
types_or: [c++]
22
- # - repo: https://github.com/pocc/pre-commit-hooks
23
- # rev: v1.3.5
24
- # hooks:
25
- # - id: clang-tidy
26
- # args: [-p=build]
27
- # files: \.(h|cpp)$
28
-# - id: oclint
29
-# - id: cppcheck
30
-# - id: cpplint
31
-# - id: include-what-you-use
32
- repo: local
33
34
- id: cppcheck
@@ -48,6 +38,15 @@ repos:
48
38
--error-exitcode=1,
49
39
]
50
40
files: \.(h|cpp)$
41
+ - id: include-what-you-use
42
+ name: include-what-you-use
43
+ entry: iwyu_tool
44
+ language: system
45
+ args:
46
+ [
47
+ -p=build
+ ]
+ files: \.(h|cpp)$
51
- id: clang-tidy
52
name: clang-tidy
53
entry: clang-tidy
0 commit comments