File: .pre-commit-config.yaml

package info (click to toggle)
rust-coreutils 0.0.30-3~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 17,388 kB
  • sloc: sh: 1,088; python: 407; javascript: 72; makefile: 51
file content (17 lines) | stat: -rw-r--r-- 556 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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