-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
61 lines (55 loc) · 1.66 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
61 lines (55 loc) · 1.66 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
repos:
- repo: https://github.com/rhysd/actionlint
rev: v1.7.12
hooks:
- id: actionlint
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.11.6
hooks:
- id: uv-lock
# ruff-pre-commit rev pins `ruff==<same semver>`; keep in sync with PyPI and uv.lock.
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.10
hooks:
- id: ruff-format
- id: ruff-check
args: ["--fix"]
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
additional_dependencies: ["tomli"]
- repo: https://github.com/PyCQA/doc8
rev: v1.1.2
hooks:
- id: doc8
files: ^docs/.*\.rst$
- repo: https://github.com/econchick/interrogate
rev: 1.7.0
hooks:
- id: interrogate
pass_filenames: false
args: ["src/dbs_annotator"]
- repo: local
hooks:
- id: tsv-schema-docs
name: tsv schema docs
entry: uv run python scripts/generate_tsv_schema_docs.py --check
language: system
pass_filenames: false
- id: session-report-example-docs
name: session report example docs
entry: uv run python scripts/generate_session_report_example_docs.py --check
language: system
pass_filenames: false
- id: docs-favicon
name: docs favicon assets
entry: uv run python scripts/generate_docs_favicon.py
language: system
pass_filenames: false
files: ^(icons/logosimple/|scripts/generate_docs_favicon\.py)
- id: ty-check
name: ty check
entry: uv run ty check .
language: system
pass_filenames: false