-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
33 lines (32 loc) · 1.01 KB
/
.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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-added-large-files # default > 500kB, lfs excluded
- id: check-ast # for python
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: no-commit-to-branch
- id: pretty-format-json
args: [--autofix, --no-sort-keys]
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v14.0.4
hooks:
- id: clang-format -i
types_or: [c++]
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- id: cmake-format
- id: cmake-lint
args: [--suppress-decorations]
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.19.1
hooks:
- id: check-github-workflows