-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
50 lines (47 loc) · 1.21 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
50 lines (47 loc) · 1.21 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: local
hooks:
- id: ruff
name: ruff
entry: uv run --frozen ruff check --fix
language: system
types: [python]
pass_filenames: false
- id: ruff-format
name: ruff-format
entry: uv run --frozen ruff format
language: system
types: [python]
pass_filenames: false
- id: markdownlint-cli2
name: markdownlint-cli2
entry: npx markdownlint-cli2 --config .markdownlint.yaml
language: system
types: [markdown]
- id: shellcheck
name: shellcheck
entry: shellcheck
language: system
types: [shell]
- id: hadolint
name: hadolint
entry: hadolint
language: system
files: ^images/.*Dockerfile
types_or: [dockerfile, file]
- id: taplo
name: taplo
entry: npx --yes @taplo/cli fmt
language: system
files: \.toml$
- id: prettier
name: prettier
entry: npx prettier --write
language: system
files: \.(json|ya?ml)$
- id: mypy
name: mypy
entry: make dmypy
language: system
types: [python]
pass_filenames: false