-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
41 lines (40 loc) · 1.05 KB
/
.pre-commit-config.yaml
File metadata and controls
41 lines (40 loc) · 1.05 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
repos:
# Official repo for the clang-format hook
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: 'v20.1.0'
hooks:
- id: clang-format
name: format C/C++
types_or: [c++]
# Official repo for default hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 'v5.0.0'
hooks:
- id: check-merge-conflict
- id: mixed-line-ending
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer
# black repo for python formatting
- repo: https://github.com/ambv/black
rev: 25.1.0
hooks:
- id: black
name: format python
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
name: check spelling
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.33.2
hooks:
- id: check-github-workflows
args: ["--verbose"]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.39.0
hooks:
- id: markdownlint
exclude: "^changelog-entries/"
- id: markdownlint-fix
exclude: "^changelog-entries/"