-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
35 lines (32 loc) · 1000 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
35 lines (32 loc) · 1000 Bytes
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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-merge-conflict
- id: check-added-large-files
- id: end-of-file-fixer
- id: mixed-line-ending
args: [--fix=lf]
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: check-yaml
- id: check-json
- id: check-toml
- repo: https://github.com/codespell-project/codespell
rev: v2.4.3
hooks:
- id: codespell
additional_dependencies: [tomli]
- repo: local
hooks:
- id: zensical-build-strict
name: zensical build --strict
entry: uv run zensical build --strict --clean
language: system
pass_filenames: false
files: ^(docs/|zensical\.toml|pyproject\.toml|uv\.lock)
- repo: https://github.com/swiss-ai-center/mdwrap
rev: 0.2.5
hooks:
- id: mdwrap
args: [--print-width, "100", -i, "docs/resources/asking-good-questions.md", --fmt]