-
-
Notifications
You must be signed in to change notification settings - Fork 420
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
80 lines (73 loc) · 2.02 KB
/
.pre-commit-config.yaml
File metadata and controls
80 lines (73 loc) · 2.02 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
78
79
80
repos:
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.37.1
hooks:
- id: check-dependabot
- id: check-github-workflows
- id: check-github-actions
- id: check-readthedocs
- repo: https://github.com/rhysd/actionlint
rev: v1.7.12
hooks:
- id: actionlint
additional_dependencies:
- "github.com/wasilibs/go-shellcheck/cmd/shellcheck@latest"
- repo: https://github.com/woodruffw/zizmor-pre-commit
rev: v1.23.1
hooks:
- id: zizmor
args:
- "--no-progress"
- "--fix"
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.11.0.1
hooks:
- id: shellcheck
args: ["--severity=style"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.9
hooks:
- id: ruff-check
args: ["--exit-non-zero-on-fix"]
- id: ruff-format
- repo: https://github.com/EbodShojaei/bake
rev: v1.4.6
hooks:
- id: mbake-format
args: ["--config=.github/bake.toml"]
- id: mbake-validate
- repo: https://github.com/crate-ci/typos
rev: v1
hooks:
- id: typos
- repo: https://github.com/codespell-project/codespell
rev: v2.4.2
hooks:
- id: codespell
additional_dependencies:
- tomli
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-toml
- id: check-xml
- id: check-merge-conflict
- id: check-symlinks
- id: check-illegal-windows-names
- id: mixed-line-ending
args: ["--fix=lf"]
- id: check-case-conflict
# Should be the last:
- repo: meta
hooks:
- id: check-useless-excludes
exclude: ^(tests/fixtures/|.*?/__snapshots__/.*)
ci:
autofix_commit_msg: "[pre-commit.ci] auto fixes from pre-commit.com hooks"
autofix_prs: true
autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate"
autoupdate_schedule: weekly
submodules: false