-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.pre-commit-config.yaml
55 lines (55 loc) · 1.63 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
fail_fast: true
exclude: .gitmodules|.gitignore|.git/
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: forbid-tabs
exclude: scripts/|Makefile|.*\.mk$|module/fstore/|module/test/e2e/.*\.c$|module/test/e2e/.*\.h$
- id: remove-tabs
exclude: scripts/|Makefile|.*\.mk$|module/fstore/|module/test/e2e/.*\.c$|module/test/e2e/.*\.h$
args: [--whitespaces-count, '2']
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.31.1
hooks:
- id: markdownlint
- id: markdownlint-fix
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: shfmt
args: [-i 4]
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
exclude: config/
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.26.3
hooks:
- id: yamllint
entry: yamllint --config-file .yamllint.yaml
exclude: .clang-format
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.4
hooks:
- id: ruff
types_or: [ python, pyi ]
args: [ --fix ]
- id: ruff
types_or: [ python, pyi ]
args: [ --fix, --select=I ]
- repo: https://github.com/pocc/pre-commit-hooks
rev: v1.3.5
hooks:
- id: clang-format
args: [-i]
exclude: module/fstore/|module/test/e2e/.*\.c$|module/test/e2e/.*\.h$