-
Notifications
You must be signed in to change notification settings - Fork 67
/
.pre-commit-hooks.yaml
48 lines (47 loc) · 1.48 KB
/
.pre-commit-hooks.yaml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
# This file tells https://pre-commit.com/
# which hooks are provided by this repo
# for use by other git repos.
- id: clang-format
name: clang-format
entry: clang-format-hook
description: Formats C, C++, Objective-C, and Java code
types_or: [c, c++, c#, objective-c, java]
language: python
- id: clang-tidy
name: clang-tidy
entry: clang-tidy-hook
description: Find warnings/errors in C, C++, and Objective-C code
types_or: [c, c++, c#, objective-c]
language: python
- id: oclint
name: oclint
entry: oclint-hook
description: Find warnings/errors in C, C++, and Objective-C code
types_or: [c, c++, c#, objective-c]
language: python
- id: uncrustify
name: uncrustify
entry: uncrustify-hook
description: Formats C, C++, Objective-C, Java, D, and Vala code
# D, vala currently aren't valid file types. See https://github.com/pre-commit/identify/issues/258
types_or: [c, c++, c#, objective-c, java]
language: python
- id: cppcheck
name: cppcheck
entry: cppcheck-hook
description: Find warnings/errors in C, C++, and Objective-C code
types_or: [c, c++, c#, objective-c]
language: python
- id: cpplint
name: cpplint
entry: cpplint-hook
description: Find warnings/errors in C/CPP code
types_or: [c, c++, c#, objective-c, cuda]
language: python
- id: include-what-you-use
name: include-what-you-use
entry: include-what-you-use-hook
description: Runs Include-What-You-Use (iwyu) in C/CPP code
types_or: [c, c++, c#, objective-c, cuda]
language: python