Files
crete/.pre-commit-config.yaml
T
Release-plz e08d13304d
Committed / committed (pull_request) Successful in 51s
CI / cargo shear (pull_request) Successful in 6m27s
CI / prek (pull_request) Successful in 6m32s
Release-plz / Release-plz Release (push) Successful in 10m4s
Release-plz / Release-plz PR (push) Successful in 9m11s
CI / prek (push) Successful in 9m20s
Audit / cargo audit (push) Successful in 13m4s
CI / cargo shear (push) Successful in 5m53s
Release / Arch Linux (push) Successful in 7m45s
chore(release): Release v0.1.0
Signed-off-by: Release-plz <release-plz@noreply.huizinga.dev>
2026-04-07 05:06:36 +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