candle/.pre-commit-config.yaml

16 lines
343 B
YAML
Raw Normal View History

2023-06-21 23:01:32 +08:00
repos:
- repo: https://github.com/Narsil/pre-commit-rust
rev: 2eed6366172ef2a5186e8785ec0e67243d7d73d0
hooks:
- id: fmt
name: "Rust (fmt)"
- id: clippy
name: "Rust (clippy)"
args:
[
2023-06-21 23:04:28 +08:00
"--tests",
"--examples",
2023-06-21 23:01:32 +08:00
"--",
"-Dwarnings",
]