Skip to content

Commit c5184e8

Browse files
committed
feat: add names to any precommit hooks missing them
1 parent 3093d79 commit c5184e8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

{{cookiecutter.project_name}}/.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,26 +37,34 @@ repos:
3737
hooks:
3838
- id: ruff-format
3939
args: [--config=.ruff.toml]
40+
name: Ruff Format
4041

4142
- id: ruff-check
4243
args: [--fix, --diff, --exit-non-zero-on-fix, --config=.ruff.toml]
44+
name: Ruff Check
4345

4446
- repo: https://github.com/doublify/pre-commit-rust
4547
rev: master
4648
hooks:
4749
- id: fmt
50+
name: Rust Format
4851
- id: clippy
4952
args: ["--all-features", "--", "--write"]
53+
name: Clippy
5054
- id: cargo-check
55+
name: Cargo Check
5156

5257
- repo: https://github.com/pre-commit/mirrors-prettier
5358
rev: v2.6.0
5459
hooks:
5560
- id: prettier
61+
name: Prettier
5662

5763
- repo: https://github.com/commitizen-tools/commitizen
5864
rev: v4.8.2
5965
hooks:
6066
- id: commitizen
67+
name: Commitizen
6168
- id: commitizen-branch
69+
name: Commitizen Branch
6270
stages: [ commit-msg ]

0 commit comments

Comments
 (0)