repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-toml
- repo: "https://github.com/gitleaks/gitleaks"
rev: "v8.24.2"
hooks:
- id: gitleaks
- repo: local
hooks:
- id: cargo-fmt
name: "cargo fmt"
entry: "cargo fmt --all --check"
language: "system"
types: ["rust"]
pass_filenames: false
- id: cargo-nextest
name: "cargo nextest"
entry: "cargo nextest run"
language: "system"
types: ["rust"]
pass_filenames: false
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.41.0
hooks:
- id: markdownlint
args: ["--fix"]