-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
66 lines (66 loc) · 1.63 KB
/
.pre-commit-config.yaml
File metadata and controls
66 lines (66 loc) · 1.63 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
---
repos:
- repo: meta
hooks:
- id: check-useless-excludes
priority: 0
- repo: https://github.com/ansible/actions
rev: v1.1.2
hooks:
- id: toml
priority: 0
- id: mypy
priority: 2
- id: ruff
priority: 1
- id: cspell
priority: 0
- id: pylint
priority: 5
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.11.8
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.14"
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
priority: 0
- id: check-symlinks
priority: 0
- id: debug-statements
priority: 0
- id: detect-private-key
priority: 0
- id: end-of-file-fixer
priority: 1
- id: trailing-whitespace
priority: 1
- repo: https://github.com/jsh9/pydoclint
rev: "0.8.3"
hooks:
- id: pydoclint
# This allows automatic reduction of the baseline file when needed.
entry: sh -ec "pydoclint -q . && pydoclint --generate-baseline=1 ."
pass_filenames: false
priority: 6
- repo: https://github.com/ansible/team-devtools
rev: v26.4.0
hooks:
- id: check-platform-constraints
priority: 1