-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
64 lines (59 loc) · 2.24 KB
/
.pre-commit-config.yaml
File metadata and controls
64 lines (59 loc) · 2.24 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
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.10
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: local
hooks:
- id: mypy
name: mypy (per-package)
description: Run mypy per workspace member so each one uses its own resolved env. Avoids the dep-drift trap of pinning the workspace's transitive type-check deps in additional_dependencies.
entry: bash -c 'set -e; for pkg in core channels arize_phoenix tempo_grafana examples/luca-flow; do (cd "$pkg" && uv run mypy src tests); done'
language: system
pass_filenames: false
files: \.py$
stages: [pre-commit, pre-push]
- repo: local
hooks:
- id: trufflehog
name: trufflehog (secret scan, offline)
description: Detect secrets in staged changes via local trufflehog binary (no API verification).
entry: trufflehog git file://. --since-commit HEAD --no-verification --no-update --fail
language: system
pass_filenames: false
stages: [pre-commit, pre-push]
- repo: local
hooks:
- id: check-coily-yaml
name: coily.yaml verb/target name match
description: Enforce that every .coily/coily.yaml command's run is `make <verb>`. Tracks coilysiren/coily#116.
entry: python3 scripts/check-coily-yaml.py
language: system
files: ^\.coily/coily\.yaml$
pass_filenames: false
- repo: local
hooks:
- id: coily-trailer
name: coily audit-log trailer
description: Append Audit-log trailers to the commit message based on coily's audit log for this repo.
entry: coily git trailer-hook
language: system
stages: [prepare-commit-msg]
always_run: true
require_serial: true
# BEGIN managed by agentic-os/scripts/apply-agentic-os-hooks.py
- repo: https://github.com/coilysiren/agentic-os
rev: v0.5.0
hooks:
- id: catalog-doc-size
- id: catalog-trifecta
- id: documentation-layout
- id: code-comments
- id: catalog-block-present
- id: validate-skills
- id: dead-cross-links
- id: closes-issue
- id: conventional-commit
# END managed by agentic-os/scripts/apply-agentic-os-hooks.py