generated from executablebooks/mdformat-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-test.yaml
33 lines (33 loc) · 1.06 KB
/
.pre-commit-test.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
---
# A pre-commit hook for testing unreleased changes
# Run from tox with: tox -e py39-hook
repos:
- repo: local
hooks:
- id: mdformat
name: mdformat-from-tox
entry: mdformat
files: tests/pre-commit-test.md
types: [markdown]
language: system
- id: mdformat-with-args
name: mdformat-with-args
entry: mdformat
args: [--wrap=40, --number]
files: tests/pre-commit-test-numbered.md
types: [markdown]
language: system
- id: mdformat-with-semantic-arg
name: mdformat-with-semantic-arg
entry: mdformat
args: [--align-semantic-breaks-in-lists]
files: tests/pre-commit-test-align_semantic_breaks_in_lists.md
types: [markdown]
language: system
- id: mdformat-with-ignore-missing-references
name: mdformat-with-ignore-missing-references
entry: mdformat
args: [--ignore-missing-references]
files: tests/pre-commit-test-ignore_missing_references.md
types: [markdown]
language: system