-
-
Notifications
You must be signed in to change notification settings - Fork 206
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
56 lines (55 loc) · 1.81 KB
/
.pre-commit-config.yaml
File metadata and controls
56 lines (55 loc) · 1.81 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:
autofix_prs: false
autoupdate_schedule: quarterly
repos:
# All hooks pinned by full commit SHA rather than tag. Tags are
# mutable; SHAs are not. `pre-commit autoupdate` still bumps these
# on the quarterly `autoupdate_schedule`, and the trailing comment
# shows the corresponding tag for human review.
- repo: 'https://github.com/pre-commit/pre-commit-hooks'
# yamllint disable-line rule:line-length
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # v5.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
# yamllint disable-line rule:line-length
rev: 8a948e557ca98afa9489998ad0b85515964df9c4 # v0.12.0
hooks:
- id: ruff-check
args: [--fix]
- id: ruff-format
- repo: https://github.com/astral-sh/uv-pre-commit
# yamllint disable-line rule:line-length
rev: 0397b68f6f88c024f1d2b355a9818779f6336d16 # 0.11.3
hooks:
- id: uv-lock
- repo: https://github.com/adrienverge/yamllint
# yamllint disable-line rule:line-length
rev: 79a6b2b1392eaf49cdd32ac4f14be1a809bbd8f7 # v1.37.1
hooks:
- id: yamllint
args: [--strict]
- repo: https://github.com/rvben/rumdl-pre-commit
# yamllint disable-line rule:line-length
rev: e25bab4ecdcb2d86aaf956ad89f9ccda55e226ab # v0.1.74
hooks:
- id: rumdl
- repo: https://github.com/python-jsonschema/check-jsonschema
# yamllint disable-line rule:line-length
rev: ba8f7ac0e0c0d25bae15b628b634316e7d201db5 # 0.36.1
hooks:
- id: check-dependabot
- id: check-github-workflows
- id: check-readthedocs
- id: check-jsonschema
alias: check-github-workflows-require-timeout
name: Check GitHub Actions workflow jobs set timeout-minutes
args:
- --builtin-schema
- github-workflows-require-timeout
files: ^\.github/workflows/[^/]+$
types:
- yaml