-
Notifications
You must be signed in to change notification settings - Fork 386
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
44 lines (42 loc) · 1.07 KB
/
.pre-commit-config.yaml
File metadata and controls
44 lines (42 loc) · 1.07 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer
- id: check-yaml
exclude: |
(?x)^(
tools/mkdocs-docker\.yml|
tools/docker-compose\.yml|
build_pdf/build_base\.yml|
mkdocs\.yml
)$
- id: check-added-large-files
args: ['--maxkb=1024']
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.38.0
hooks:
- id: markdownlint
args: [--config, .markdownlint.yml, --fix]
files: \.md$
exclude: |
(?x)^(
LICENSE\.md|
build_pdf/.*
)$
- repo: local
hooks:
- id: pyspelling
name: pyspelling
entry: pyspelling
language: system
types: [markdown]
stages: [manual]
- id: lychee
name: lychee
entry: lychee --no-progress
language: system
types: [markdown]
stages: [manual]