-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
41 lines (36 loc) · 944 Bytes
/
.pre-commit-config.yaml
File metadata and controls
41 lines (36 loc) · 944 Bytes
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
# Pre-push validation hooks
# Install with: pre-commit install --hook-type pre-push
# See: https://pre-commit.com
repos:
- repo: local
hooks:
- id: build
name: Build
entry: bun run build
language: system
pass_filenames: false
stages: [pre-push]
- id: typecheck
name: Typecheck
entry: bun run typecheck
language: system
pass_filenames: false
stages: [pre-push]
- id: lint
name: Lint
entry: bun run lint
language: system
pass_filenames: false
stages: [pre-push]
- id: test
name: Test
entry: bun run test
language: system
pass_filenames: false
stages: [pre-push]
- id: validate-evals
name: Validate eval YAML files
entry: bun run validate:examples
language: system
pass_filenames: false
stages: [pre-push]