-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
33 lines (30 loc) · 913 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
33 lines (30 loc) · 913 Bytes
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
default_stages: [pre-commit, pre-push, manual]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-toml
- id: check-added-large-files
args: [--maxkb=1024]
- id: check-merge-conflict
- id: detect-private-key
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v17.0.6
hooks:
- id: clang-format
types_or: [c++, c]
- repo: local
hooks:
- id: ondrix-public-hygiene
name: ondrix public repository hygiene
entry: scripts/check-public-hygiene.sh
language: system
pass_filenames: false
- id: ondrix-mlir-test-run-lines
name: ondrix MLIR tests have RUN lines
entry: scripts/check-mlir-tests.sh
language: system
pass_filenames: false