File: .pre-commit-config.yaml

package info (click to toggle)
thin-provisioning-tools 1.1.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,300 kB
  • sloc: xml: 544; sh: 521; makefile: 133
file content (28 lines) | stat: -rw-r--r-- 850 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.5.0
    hooks:
    -   id: check-merge-conflict
    -   id: end-of-file-fixer
    -   id: mixed-line-ending
    -   id: trailing-whitespace
-   repo: https://github.com/doublify/pre-commit-rust
    rev: v1.0
    hooks:
    -   id: fmt
-   repo: local
    hooks:
    -   id: cargo-check-locked
        name: cargo check
        description: Check the package for errors.
        entry: cargo check --locked
        language: system
        files: Cargo.(lock|toml)$
        pass_filenames: false
    -   id: cargo-clippy-locked
        name: cargo clippy
        description: Run the Clippy linter on all the targets.
        entry: cargo clippy --locked --all-targets --all-features -- -D warnings
        language: system
        files: \.rs$
        pass_filenames: false