Files
tar/.pre-commit-config.yaml
Sylvestre Ledru 5f5f94f6a5 fix various items
2025-09-24 20:53:22 +02:00

24 lines
758 B
YAML

repos:
- repo: local
hooks:
- id: rust-linting
name: Rust linting
description: Run cargo fmt on files included in the commit.
entry: cargo +stable fmt --
pass_filenames: true
types: [file, rust]
language: system
- id: rust-clippy
name: Rust clippy
description: Run cargo clippy on files included in the commit.
entry: cargo +stable clippy --workspace --all-targets --all-features --
pass_filenames: false
types: [file, rust]
language: system
- id: cspell
name: Code spell checker (cspell)
description: Run cspell to check for spelling errors.
entry: cspell --
pass_filenames: true
language: system