-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
74 lines (64 loc) · 1.89 KB
/
.pre-commit-config.yaml
File metadata and controls
74 lines (64 loc) · 1.89 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
repos:
- repo: local
hooks:
- id: ruff-check
name: Lint with ruff
entry: uv run ruff check --fix
language: system
types: [python]
pass_filenames: false
- id: ruff-format
name: Format with ruff
entry: uv run ruff format
language: system
types: [python]
pass_filenames: false
- id: mypy
name: Check typing with mypy
entry: uv run mypy
language: system
types: [python]
pass_filenames: false
- id: pymarkdown
name: Markdownlint
description: Run markdownlint on Markdown files
entry: uv run pymarkdown scan
language: system
files: \.(md|mdown|markdown)$
- id: check-added-large-files
name: Check for added large files
entry: uv run check-added-large-files
language: system
- id: check-toml
name: Check Toml
entry: uv run check-toml
language: system
types: [toml]
- id: check-yaml
name: Check Yaml
entry: uv run check-yaml
language: system
types: [yaml]
exclude: ^mkdocs.yml$
- id: mixed-line-ending
name: Check mixed line endings
entry: uv run mixed-line-ending
language: system
types: [text]
stages: [pre-commit, pre-push, manual]
- id: end-of-file-fixer
name: Fix End of Files
entry: uv run end-of-file-fixer
language: system
types: [text]
stages: [pre-commit, pre-push, manual]
- id: trailing-whitespace
name: Trim Trailing Whitespace
entry: uv run trailing-whitespace-fixer
language: system
types: [text]
stages: [pre-commit, pre-push, manual]
- id: check-merge-conflict
name: Check merge conflicts
entry: uv run check-merge-conflict
language: system