-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
28 lines (28 loc) · 1.06 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
28 lines (28 loc) · 1.06 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
repos:
- repo: local
hooks:
- id: agent-maintainer-fast
name: Agent Maintainer fast staged checks
entry: >-
env AGENT_MAINTAINER_ALLOW_FOREGROUND_WAIT=1 PYTHONDONTWRITEBYTECODE=1
PYTHONPATH=src python3 -m agent_maintainer verify
--profile fast --base-ref HEAD --staged
language: system
pass_filenames: false
stages: [pre-commit]
- id: agent-maintainer-affected-tests
name: Agent Maintainer affected tests
entry: >-
env PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=src python3 -m agent_maintainer test-intel
run-changed --base-ref HEAD --staged
language: system
pass_filenames: false
stages: [pre-commit]
- id: agent-maintainer-prepush
name: Agent Maintainer complete pre-push checks
entry: >-
env AGENT_MAINTAINER_ALLOW_FOREGROUND_WAIT=1 PYTHONDONTWRITEBYTECODE=1
PYTHONPATH=src python3 -m agent_maintainer.hooks.pre_push
language: system
pass_filenames: false
stages: [pre-push]