-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
33 lines (29 loc) · 855 Bytes
/
.pre-commit-config.yaml
File metadata and controls
33 lines (29 loc) · 855 Bytes
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
# Recommended workflow:
# - `git add --verbose --patch` to stage changes
# - `git commit` to commit them
# - rinse and repeat, if pre-commit wants / applied changes
exclude: ^docs/(\..*|Makefile|conf\.py)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- repo: https://github.com/executablebooks/mdformat
rev: 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: v0.9.36
hooks:
- id: pymarkdown
args:
- --config=docs/.sphinx/.pymarkdown.json
- fix