aboutsummaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: 2f2e5d0476b66e31b172d278d5e3bed2a6be6a42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.5.0
    hooks:
      - id: trailing-whitespace
      - id: end-of-file-fixer
      - id: check-added-large-files
      - id: check-case-conflict
      - id: check-merge-conflict
      - id: check-symlinks
      - id: check-toml
      - id: forbid-submodules
      - id: mixed-line-ending
  - repo: https://github.com/ansg191/pre-commit-rust
    rev: v1.1
    hooks:
      - id: fmt
      - id: cargo-check
      - id: clippy
  - repo: https://github.com/commitizen-tools/commitizen
    rev: v3.15.0
    hooks:
      - id: commitizen