-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
68 lines (68 loc) · 1.7 KB
/
.pre-commit-config.yaml
File metadata and controls
68 lines (68 loc) · 1.7 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
---
ci:
# We rely on renovate to update it but there is no way to fully disable it
# https://github.com/pre-commit-ci/issues/issues/83
autoupdate_schedule: quarterly
skip:
- cspell # missing uv
- codecov # missing uv
- shellcheck # no docker support on pre-commit.ci
# uv not present on pre-commit.ci
- mypy
- ruff
- toml
- renovate-config-validator
repos:
- repo: meta
hooks:
- id: check-useless-excludes
priority: 0
- repo: https://github.com/ansible/actions
rev: v1.1.1
hooks:
- id: toml
priority: 0
- id: mypy
priority: 2
- id: ruff
priority: 1
- id: cspell
priority: 0
- id: codecov
priority: 0
- id: shellcheck
priority: 0
- id: renovate-config-validator
priority: 0
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.11.3
hooks:
- id: uv-sync
- id: uv-lock
name: "deps: upgrade via uv sync --upgrade"
alias: deps
args: ["--upgrade"]
stages: [manual]
- repo: https://github.com/biomejs/pre-commit
rev: "v2.4.10"
hooks:
- id: biome-check
name: biome
alias: biome
args: [--unsafe]
priority: 0
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v6.0.0
hooks:
- id: check-added-large-files
priority: 0
- id: check-merge-conflict
- id: check-symlinks
- id: debug-statements
- id: detect-private-key
- id: end-of-file-fixer
- id: trailing-whitespace
- id: mixed-line-ending
- id: fix-byte-order-marker
- id: check-executables-have-shebangs
- id: check-merge-conflict