-
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
27 lines (27 loc) · 765 Bytes
/
.pre-commit-config.yaml
File metadata and controls
27 lines (27 loc) · 765 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-xml
- id: check-merge-conflict
- id: mixed-line-ending
- id: end-of-file-fixer
- id: trailing-whitespace
# black repo for python formatting
- repo: https://github.com/ambv/black
rev: 22.12.0
hooks:
- id: black
# markdownlint for markdown formatting
- repo: https://github.com/markdownlint/markdownlint
rev: v0.12.0
hooks:
- id: markdownlint
args: ['-r', '~MD002,~MD013,~MD026,~MD029,~MD033,~MD034']
- repo: https://github.com/precice/precice-pre-commit-hooks
rev: 'v3.3'
hooks:
- id: format-precice-config
files: "^.*/precice-config.xml"
- id: check-image-prefix
args: [ --prefix=docs-tooling-micro-manager- ]