-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
31 lines (31 loc) · 1.46 KB
/
.pre-commit-config.yaml
File metadata and controls
31 lines (31 loc) · 1.46 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
exclude: ^(docs/transparency/phase9_4_1_1_2_|proofs/reference/)
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: d1b833175a5d08a925900115526febd8fe71c98e # v0.15.11
hooks:
- id: ruff-check
files: ^(src|tests|scripts)/.*\.py$
args: [--fix]
- id: ruff-format
files: ^(src|tests|scripts)/.*\.py$
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 6a280ba12b7901e47757c868c8c13c6a624c9ecb # HEAD, includes uv-lock
hooks:
- id: uv-lock
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # v6.0.0
hooks:
- id: check-yaml
files: ^(\.github/workflows/|\.pre-commit-config\.yaml$)
- id: check-toml
files: ^pyproject\.toml$
- id: end-of-file-fixer
files: ^(\.github/workflows/|src/|tests/|scripts/|README\.md|REPRODUCIBILITY\.md|pyproject\.toml|CITATION\.cff|RELEASING\.md|docs/(QUICKSTART|STATUS|VERIFICATION)\.md|proofs/(README|PROOF_INDEX)\.md)
- id: trailing-whitespace
files: ^(\.github/workflows/|src/|tests/|scripts/|README\.md|REPRODUCIBILITY\.md|pyproject\.toml|CITATION\.cff|RELEASING\.md|docs/(QUICKSTART|STATUS|VERIFICATION)\.md|proofs/(README|PROOF_INDEX)\.md)
- repo: https://github.com/woodruffw/zizmor-pre-commit
rev: d2c1833a059c66713cd52c032617766134679a0f # v1.9.0
hooks:
- id: zizmor
files: ^\.github/workflows/.*\.ya?ml$
args: [--no-online-audits]