Files
crete/.pre-commit-config.yaml
T
Dreaded_X 9408c8cb4a
Committed / committed (pull_request) Successful in 25s
CI / cargo shear (pull_request) Successful in 7m10s
CI / prek (pull_request) Successful in 12m5s
CI / cargo shear (push) Successful in 6m24s
CI / prek (push) Successful in 9m41s
Release-plz / Release-plz PR (push) Successful in 6m2s
Release-plz / Release-plz Release (push) Successful in 5m32s
fix: Pin committed action
2026-10-04 03:09:52 +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.11
hooks:
- id: committed