-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
64 lines (55 loc) · 1.34 KB
/
.pre-commit-config.yaml
File metadata and controls
64 lines (55 loc) · 1.34 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
---
repos:
- repo: builtin
hooks:
- id: trailing-whitespace
- id: check-added-large-files
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.25
hooks:
- id: validate-pyproject
- repo: https://github.com/asottile/pyupgrade
rev: v3.21.2
hooks:
- id: pyupgrade
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.0
hooks:
- id: ruff-check
args: [--fix]
- id: ruff-format
- repo: https://github.com/tombi-toml/tombi-pre-commit
rev: v0.7.27
hooks:
- id: tombi-format
- id: tombi-lint
- repo: https://github.com/kynan/nbstripout
rev: 0.9.0
hooks:
- id: nbstripout
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
- repo: https://github.com/hukkin/mdformat
rev: 1.0.0
hooks:
- id: mdformat
additional_dependencies:
- mdformat-gfm
- repo: local
hooks:
# TODO: replace once available
- id: ty
name: ty check
entry: uv run ty check
language: system
always_run: true
pass_filenames: false
- id: just-format
name: just-format
language: system
stages: [pre-commit]
entry: just --fmt --unstable
pass_filenames: false
always_run: true