repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: local
hooks:
- id: xtask-fmt
name: cargo run -p xtask -- fmt
entry: cargo run -p xtask -- fmt
language: system
pass_filenames: false
- id: xtask-clippy
name: cargo run -p xtask -- clippy
entry: cargo run -p xtask -- clippy
language: system
pass_filenames: false
- id: xtask-test
name: cargo run -p xtask -- test
entry: cargo run -p xtask -- test
language: system
pass_filenames: false