-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
77 lines (67 loc) · 1.88 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
77 lines (67 loc) · 1.88 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
default_stages: [pre-commit, pre-push]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-merge-conflict
- id: check-case-conflict
- id: mixed-line-ending
- id: trailing-whitespace
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-yaml
- id: no-commit-to-branch
args: [--branch, main]
stages: [pre-commit]
- id: debug-statements
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.12
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.400
hooks:
- id: pyright
additional_dependencies: []
- repo: https://github.com/commitizen-tools/commitizen
rev: v4.8.3
hooks:
- id: commitizen
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.11.15
hooks:
- id: uv-lock
# Tools below are managed by mise (installed via .mise.toml).
# In CI, jdx/mise-action ensures they are on PATH.
- repo: local
hooks:
- id: shellcheck
name: shellcheck
language: system
entry: shellcheck
types: [shell]
- id: shfmt
name: shfmt
language: system
entry: shfmt -l -w
types: [shell]
- id: markdownlint
name: markdownlint
language: system
entry: markdownlint --disable MD013 --
types: [markdown]
exclude: '(CHANGELOG\.md$|^skills/|^plugin/)'
- id: actionlint
name: actionlint
language: system
entry: actionlint
files: '^\.github/workflows/'
types: [yaml]
- id: zizmor
name: zizmor
language: system
entry: zizmor --offline --min-severity high
files: '^\.github/workflows/'
types: [yaml]