-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
65 lines (57 loc) · 1.72 KB
/
.pre-commit-config.yaml
File metadata and controls
65 lines (57 loc) · 1.72 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-added-large-files
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-merge-conflict
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: mixed-line-ending
args: [--fix=lf]
- id: check-toml
- id: check-yaml
- id: check-json
- id: pretty-format-json
args: [--autofix, --indent, '4']
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.2
hooks:
- id: ruff-format
- id: ruff-check
args: [--fix]
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.10.6
hooks:
- id: uv-lock
- repo: https://github.com/shellcheck-py/shellcheck-py # Shellcheck
rev: v0.10.0.1
hooks:
- id: shellcheck
args: [-x, -P, SCRIPTDIR]
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.16.0
hooks:
- id: pretty-format-yaml
args: [--autofix, --indent, '2', --offset, '2']
- id: pretty-format-toml
args: [--autofix, --indent, '4', --trailing-comma]
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.36.2
hooks:
- id: check-github-workflows
- id: check-jsonschema
args: [--check-metaschema]
files: ^renovate.json$
- repo: https://github.com/rhysd/actionlint
rev: v1.7.11
hooks:
- id: actionlint
additional_dependencies:
- github.com/wasilibs/go-shellcheck/cmd/shellcheck@v0.11.1
- repo: https://github.com/woodruffw/zizmor-pre-commit
rev: v1.22.0
hooks:
- id: zizmor