-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
67 lines (58 loc) · 1.92 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
56
57
58
59
60
61
62
63
64
65
66
67
---
# See https://pre-commit.com for more information
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0
hooks:
- id: check-added-large-files
- id: check-json
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-toml
- id: check-xml
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black-pre-commit-mirror
rev: f7aa1f9a50202a2cd7cef269f8d83f5ac91b2915 # frozen: 24.8.0
hooks:
- id: black
- repo: https://github.com/cmhughes/latexindent.pl.git
rev: 78d452f8fc359d828e2c8a4cac0d2c6fc92d2967 # frozen: V3.24.4
hooks:
- id: latexindent
args:
- --local
- --modifylinebreaks
- --overwrite
- --silent
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: 7d85583be209cb547946c82fbe51f4bc5dd1d017 # frozen: v18.1.8
hooks:
- id: clang-format
types_or:
- c
- repo: https://github.com/executablebooks/mdformat
rev: 08fba30538869a440b5059de90af03e3502e35fb # frozen: 0.7.17
hooks:
- id: mdformat
exclude: LICENSE\.md
additional_dependencies:
- mdformat-gfm
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 03d82ba032f800c7cbbef301ec1e1e25c0ac91b0 # frozen: v0.6.4
hooks:
- id: ruff
- repo: https://github.com/pappasam/toml-sort
rev: b9b6210da457c38122995e434b314f4c4a4a923e # frozen: v0.23.1
hooks:
- id: toml-sort-fix
- repo: https://github.com/lyz-code/yamlfix/
rev: 8072181c0f2eab9f2dd8db2eb3b9556d7cd0bd74 # frozen: 1.17.0
hooks:
- id: yamlfix
- repo: https://github.com/adrienverge/yamllint
rev: 81e9f98ffd059efe8aa9c1b1a42e5cce61b640c6 # frozen: v1.35.1
hooks:
- id: yamllint