-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
29 lines (27 loc) · 993 Bytes
/
.pre-commit-config.yaml
File metadata and controls
29 lines (27 loc) · 993 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-merge-conflict
- id: check-yaml
exclude: "tests/data/yaml/bad_simple.yaml"
- id: no-commit-to-branch
args: [--branch, develop, --branch, main]
- repo: local
hooks:
- id: hatch-fmt
name: hatch fmt (ruff format + lint)
entry: hatch fmt
language: system
types: [python]
pass_filenames: false
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.17
hooks:
- id: mdformat
exclude: "CHANGELOG.md|docs/contributing/maintainers.md|docs/reference/API|tests/data/author|docs/contributing/index.md|tests/data/jinja_markdown_include|tests/data/jinja_cmd/number_captions_data.md|tests/data/jinja_cmd/number_captions_expected_output.md"
additional_dependencies:
- mdformat-tables
- mdformat-config
- mdformat-frontmatter
- mdformat-gfm