forked from triton-lang/triton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
43 lines (41 loc) · 1002 Bytes
/
.pre-commit-config.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
repos:
- repo: local
hooks:
- id: isort
name: isort
entry: isort
args: ["./python"]
language: python
types: [python]
additional_dependencies:
- isort==5.10.1
- id: autopep8
name: autopep8
entry: autopep8
args: ["-a", "-r", "-i", "./python"]
language: python
types: [python]
additional_dependencies:
- autopep8==1.6.0
- id: clang-format
name: clang-format
entry: python -m clang_format
args:
[
"-regex",
".*\\.(cpp|hpp|h|cc)",
"-not",
"-path",
"./python/triton/*",
"-not",
"-path",
"./python/build/*",
"-not",
"-path",
"./include/triton/external/*",
"-i",
]
language: python
types: [c, c++]
additional_dependencies:
- clang-format==14.0.6