-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
51 lines (44 loc) · 1.3 KB
/
.pre-commit-config.yaml
File metadata and controls
51 lines (44 loc) · 1.3 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
default_install_hook_types:
- pre-commit
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-toml
- id: check-yaml
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.24.1
hooks:
- id: validate-pyproject
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.45.0
hooks:
- id: markdownlint-fix
args: [--disable=MD013, --disable=MD033, --disable=MD041, --disable=MD025]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.3
hooks:
- id: ruff-check
args: [--extend-select=I, --fix]
- id: ruff-format
args: [--line-length=100]
- repo: local
hooks:
- id: ty-check
name: ty-check
language: python
entry: ty check
pass_filenames: false
args: [--python=.venv/, --ignore=unresolved-import]
additional_dependencies: [ty]
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.7.21
hooks:
- id: uv-sync
- id: uv-lock
- id: uv-export
args: [--no-hashes, --no-dev, --output-file=requirements.txt]
- id: uv-export
args: [--no-hashes, --only-dev, --output-file=requirements-dev.txt]