-
Notifications
You must be signed in to change notification settings - Fork 272
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
43 lines (43 loc) · 1.29 KB
/
.pre-commit-config.yaml
File metadata and controls
43 lines (43 loc) · 1.29 KB
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: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.3
hooks:
- id: clang-format
types_or: [c++, inc]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.0
hooks:
- id: ruff-check
args: [ --fix ]
exclude: |
(?x)^(
docs/conf.py
)$
- id: ruff-format
exclude: |
(?x)^(
docs/conf.py
)$
- repo: local
hooks:
- id: copyright-header-checker
name: Check copyright headers
entry: projects/composablekernel/script/check_copyright_year.sh
verbose: false
language: script
types_or: [c++, python, shell, cmake]
- id: remove-exec-bit
name: Remove executable bit from non-executable files
entry: projects/composablekernel/script/remove_exec_bit.sh
language: script
types_or: [c++, text]
verbose: true
- id: remod-ck-tile
name: Run ck_tile remod.py
entry: python projects/composablekernel/script/remod_for_ck_tile.py
language: python
files: '^projects/composablekernel/(include|example)/ck_tile/.*$'
additional_dependencies:
- dos2unix
- clang-format==18.1.3
pass_filenames: false