-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
38 lines (37 loc) · 1.27 KB
/
.pre-commit-config.yaml
File metadata and controls
38 lines (37 loc) · 1.27 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
# crag:auto-start
# Generated from governance.md by crag — https://crag.sh
# Regenerate: crag compile --target pre-commit
repos:
- repo: local
hooks:
- id: gate-1
name: "server (working-directory: server): python -m pytest test..."
entry: bash -c 'python -m pytest tests/ -v --tb=short'
language: system
pass_filenames: false
always_run: true
- id: gate-2
name: "dashboard (working-directory: dashboard): npx biome check..."
entry: bash -c 'npx biome check --no-errors-on-unmatched --diagnostic-level=error'
language: system
pass_filenames: false
always_run: true
- id: gate-3
name: "dashboard (working-directory: dashboard): npx tsc --noEmit"
entry: bash -c 'npx tsc --noEmit'
language: system
pass_filenames: false
always_run: true
- id: gate-4
name: "dashboard (working-directory: dashboard): npm run build"
entry: bash -c 'npm run build'
language: system
pass_filenames: false
always_run: true
- id: gate-5
name: "firmware (working-directory: firmware): make -j8"
entry: bash -c 'make -j8'
language: system
pass_filenames: false
always_run: true
# crag:auto-end