-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
50 lines (50 loc) · 1.23 KB
/
.pre-commit-config.yaml
File metadata and controls
50 lines (50 loc) · 1.23 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
38
39
40
41
42
43
44
45
46
47
48
49
50
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
args:
- --markdown-linebreak-ext=md
- id: check-yaml
- id: end-of-file-fixer
- id: check-merge-conflict
- id: check-case-conflict
- id: check-added-large-files
- id: check-shebang-scripts-are-executable
exclude_types:
- jinja
- id: check-executables-have-shebangs
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: remove-crlf
- id: remove-tabs
- repo: https://github.com/FeryET/pre-commit-rust
rev: v1.1.0
hooks:
- id: fmt
args:
- --manifest-path
- smirk/Cargo.toml
- --
- id: cargo-check
args:
- --manifest-path
- smirk/Cargo.toml
- --
repos:
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.6.9
hooks:
- id: uv-lock
- repo: https://github.com/google/go-jsonnet
rev: v0.20.0
hooks:
- id: jsonnet-format
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.4
hooks:
- id: ruff
args:
- --fix
- id: ruff-format