-
Notifications
You must be signed in to change notification settings - Fork 133
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
50 lines (43 loc) · 1.42 KB
/
.pre-commit-config.yaml
File metadata and controls
50 lines (43 loc) · 1.42 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
42
43
44
45
46
47
48
49
50
# Recommended workflow:
# - `git add --verbose --patch` to stage changes
# - `git commit` to commit them
# - rinse and repeat, if pre-commit wants / applied changes
exclude: ^COPYING
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: ea2eb407b4cbce87cf0d502f36578950494f5ac9 # frozen: v1.23.1
hooks:
- id: zizmor
args:
- --fix
- repo: https://github.com/rhysd/actionlint
rev: 393031adb9afb225ee52ae2ccd7a5af5525e03e8 # frozen: v1.7.11
hooks:
- id: actionlint
- repo: https://github.com/executablebooks/mdformat
rev: 2d496dbc18e31b83a1596685347ffe0b6041daf0 # frozen: 1.0.0
hooks:
- id: mdformat
additional_dependencies:
- mdformat-black
- mdformat-beautysh
- mdformat-gfm
- mdformat-myst
- setuptools # Necessary until beautysh fix their stuff, see: https://github.com/hukkin/mdformat/issues/442
- repo: https://github.com/jackdewinter/pymarkdown
rev: 6d3c1b70d44ea2202b23552af93aca3b5017ee83 # frozen: v0.9.36
hooks:
- id: pymarkdown
args:
- --config=doc/sphinx/.sphinx/.pymarkdown.json
- fix
- repo: https://github.com/AndrejOrsula/pre-commit-cargo
rev: 33ae92ed9b1a4392c8ac5fdef46887640d866e1e # frozen: 0.5.0
hooks:
- id: cargo-fmt