Files
crete/.pre-commit-config.yaml
T
Release-plz 8e5e02d29d
Release-plz / Release-plz Release (push) Successful in 9m24s
Audit / cargo audit (push) Successful in 8m7s
Release-plz / Release-plz PR (push) Successful in 8m55s
CI / prek (push) Successful in 8m33s
Release / Arch Linux (push) Successful in 4m20s
CI / cargo shear (push) Successful in 2m50s
chore(release): Release v0.1.0
Signed-off-by: Release-plz <release-plz@noreply.huizinga.dev>
2026-04-07 06:11:38 +02:00

82 lines
1.7 KiB
YAML

default_install_hook_types:
- pre-commit
- commit-msg
default_stages:
- pre-commit
repos:
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: builtin
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
exclude:
glob: schemas/*.json
- id: check-yaml
- id: check-toml
- id: check-added-large-files
- id: check-merge-conflict
- repo: https://github.com/crate-ci/typos
rev: v1.40.0
hooks:
- id: typos
- repo: https://github.com/executablebooks/mdformat
rev: "1.0.0"
hooks:
- id: mdformat
exclude: "^CHANGELOG.md$"
- repo: local
hooks:
- id: taplo-fmt
name: taplo fmt
entry: taplo fmt
language: python
additional_dependencies: ["taplo==0.9.3"]
types: [toml]
- repo: local
hooks:
- id: fmt
name: cargo fmt
entry: cargo fmt --
language: system
types: [rust]
pass_filenames: false
- id: clippy
name: cargo clippy
entry: cargo clippy --all-targets --all-features -- -D warnings
language: system
types: [rust]
pass_filenames: false
- id: xtask
name: cargo xtask
entry: cargo xtask
language: system
pass_filenames: false
always_run: true
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.37.0
hooks:
- id: check-metaschema
files:
glob: schemas/*.json
- id: check-github-workflows
files:
glob: .gitea/workflows/*.yaml
- repo: https://github.com/crate-ci/committed
rev: v1.1.8
hooks:
- id: committed