-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
48 lines (48 loc) · 1.65 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
48 lines (48 loc) · 1.65 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
hooks:
- id: trailing-whitespace
exclude: '\.patch$'
- id: end-of-file-fixer
exclude: '\.patch$'
- id: check-yaml
- id: check-added-large-files
- id: check-merge-conflict
- id: mixed-line-ending
- repo: https://github.com/Yelp/detect-secrets
rev: 68e8b45440415753fff70a312ece8da92ba85b4a # frozen: v1.5.0
hooks:
- id: detect-secrets
args: ['--baseline', '.secrets.baseline']
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 65dbdb59d2f2d9c3bdc343c566821ad3319ddaa3 # frozen: v0.16.3
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: local
hooks:
- id: sync-agent-skills
name: Sync agent workflows with skills
entry: python scripts/sync-agent-skills.py
language: python
additional_dependencies: [gitpython]
stages: [pre-push]
always_run: true
pass_filenames: false
- id: check-unprivileged-gateway
name: Check unprivileged MCP gateway tool registration
entry: python scripts/check-unprivileged-gateway.py
language: python
stages: [pre-push]
always_run: true
pass_filenames: false
- id: autobump-version
name: Auto-bump patch version for changed packages
entry: python scripts/autobump-version.py
language: python
additional_dependencies: [gitpython, tomlkit]
stages: [pre-push]
always_run: true
pass_filenames: false