-
Notifications
You must be signed in to change notification settings - Fork 4
/
.pre-commit-config.yaml
48 lines (44 loc) · 1.13 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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: check-yaml
args:
- --allow-multiple-documents
- id: check-added-large-files
- id: end-of-file-fixer
- id: debug-statements
- id: mixed-line-ending
- id: detect-private-key
- id: destroyed-symlinks
- id: check-shebang-scripts-are-executable
- id: check-case-conflict
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 2.1.5
hooks:
- id: forbid-binary
exclude: >-
(?x)^(
assets/images/.*
)$
- id: git-check
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v15.0.7
hooks:
- id: clang-format
language_version: python39
include: >-
(?x)^(
src/.*|
src/checks/.*
)$
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
hooks:
- id: codespell
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.4.0
hooks:
- id: markdownlint-cli2