-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-hooks.yaml
More file actions
37 lines (37 loc) · 1.06 KB
/
.pre-commit-hooks.yaml
File metadata and controls
37 lines (37 loc) · 1.06 KB
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
29
30
31
32
33
34
35
36
37
- id: cog
name: cog (regenerate files)
description: Find files with cog markers and run cog on them
entry: pre-commit-cog
language: python
language_version: python3.12
pass_filenames: false
always_run: true
- id: init-hooks
name: init-hooks (ensure baseline hooks)
description: Ensures that a baseline set of pre-commit hooks are enabled in the repository
entry: pre-commit-init-hooks
language: python
language_version: python3.12
pass_filenames: false
always_run: true
- id: uv-run
name: uv-run (execute command with uv)
description: Executes a project command using uv run
entry: pre-commit-uv-run
language: python
language_version: python3.12
pass_filenames: false
always_run: true
- id: cargo-clippy
name: Cargo Clippy
description: Runs `cargo clippy` with stable Rust
entry: /usr/local/cargo/bin/cargo clippy
language: docker
pass_filenames: false
types: [rust]
- id: cargo-fmt
name: Cargo Format
description: Runs `cargo fmt` with stable Rust
entry: /usr/local/cargo/bin/cargo fmt --
language: docker
types: [rust]