-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
53 lines (47 loc) · 1.19 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
53 lines (47 loc) · 1.19 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
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.6
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
- id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-yaml
- id: check-json
- id: sort-simple-yaml
- id: pretty-format-json
- id: debug-statements
- id: trailing-whitespace
- id: requirements-txt-fixer
- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.18.1
hooks:
- id: pyproject-fmt
- repo: https://github.com/executablebooks/mdformat
rev: 1.0.0
hooks:
- id: mdformat
additional_dependencies:
- mdformat-mkdocs==5.2.0b0
- mdformat-footnote==0.1.3
- repo: https://github.com/crate-ci/typos
rev: v1.44.0
hooks:
- id: typos
- repo: local
hooks:
- id: ty-check
name: ty-check
language: python
entry: uvx ty check
args: [--python=.venv/]
pass_filenames: false
- repo: local
hooks:
- id: uv-lock
name: Lock dependencies with uv
entry: uv lock
language: system
pass_filenames: false