-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
57 lines (56 loc) · 1.47 KB
/
.pre-commit-config.yaml
File metadata and controls
57 lines (56 loc) · 1.47 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
57
ci:
autofix_commit_msg: |
style(pre-commit.ci): auto fixes from pre-commit hooks
for more information, see https://pre-commit.ci
autoupdate_branch: ''
autoupdate_commit_msg: 'ci(deps): pre-commit autoupdate'
autoupdate_schedule: weekly
skip:
- "ruff-check"
- "uv-lock"
default_language_version:
python: python3.14
default_stages:
- "pre-commit"
default_install_hook_types:
- "pre-commit"
- "commit-msg"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-merge-conflict
- id: check-added-large-files
- id: end-of-file-fixer
- id: trailing-whitespace
exclude: '^(.+\.md|LICENSE)$'
- id: mixed-line-ending
args:
- "--fix=lf"
- id: check-toml
- id: check-yaml
- id: check-ast
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.11.3
hooks:
- id: uv-lock
files: "^(pyproject.toml|uv.lock)$"
always_run: false
- repo: https://github.com/commitizen-tools/commitizen
rev: v4.13.9
hooks:
- id: commitizen
stages:
- "commit-msg"
- repo: https://github.com/executablebooks/mdformat
rev: "1.0.0"
hooks:
- id: mdformat
additional_dependencies:
- "mdformat-gfm"
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.15.9"
hooks:
- id: ruff-check
args: ["--fix", "--ignore", "D"]
- id: ruff-format