-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
56 lines (48 loc) · 1.27 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
56 lines (48 loc) · 1.27 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
45
46
47
48
49
50
51
52
53
54
55
56
---
ci:
autoupdate_commit_msg: "chore: update pre-commit hooks"
exclude: ^(template/)?(CHANGELOG\.md|CODE_OF_CONDUCT\.md)$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.11.1
hooks:
- id: pyproject-fmt
- repo: https://github.com/tox-dev/tox-toml-fmt
rev: v1.2.1
hooks:
- id: tox-toml-fmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.10
hooks:
- id: ruff-check
args: [--fix]
- id: ruff-format
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.9.18
hooks:
- id: uv-lock
- repo: https://github.com/crate-ci/typos
rev: v1.40.0
hooks:
- id: typos
- repo: https://github.com/hukkin/mdformat
rev: 1.0.0
hooks:
- id: mdformat
exclude: ^(docs/|template/\{% if docs %\}docs\{% endif %\}/)
additional_dependencies:
- mdformat-gfm
- id: mdformat
files: ^docs/
additional_dependencies:
- mdformat-footnote
- mdformat-front-matters
- mdformat-mkdocs
- mdformat-simple-breaks