-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
58 lines (58 loc) · 1.76 KB
/
.pre-commit-config.yaml
File metadata and controls
58 lines (58 loc) · 1.76 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
default_install_hook_types:
- pre-commit
- commit-msg
repos:
- repo: https://github.com/ibm/detect-secrets
rev: 0.13.1+ibm.64.dss
hooks:
- id: detect-secrets # pragma: whitelist secret
args: [--baseline, .secrets.baseline, --use-all-plugins, --fail-on-unaudited]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.4
hooks:
- id: ruff
args:
- --exclude
- website,plugins/actuators/vllm_performance/ado_actuators/vllm_performance/vllm_performance_test
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.1.0
hooks:
- id: black-jupyter
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.4.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
args:
- --no-color
- --verbose
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
additional_dependencies: ['tomli']
args: ['--toml', 'pyproject.toml']
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.10.8
hooks:
- id: uv-lock
- id: uv-export
args: ["--frozen", "--no-emit-project", "--no-default-groups", "--output-file=requirements.txt"]
- repo: https://github.com/hashicorp/copywrite
rev: v0.25.1
hooks:
- id: add-headers
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.21.0
hooks:
- id: markdownlint-cli2
- repo: https://github.com/google/yamlfmt
rev: v0.21.0
hooks:
- id: yamlfmt
- repo: https://github.com/tombi-toml/tombi-pre-commit
rev: v0.9.0
hooks:
- id: tombi-format
args: ["--offline"]