-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
37 lines (37 loc) · 1.13 KB
/
.pre-commit-config.yaml
File metadata and controls
37 lines (37 loc) · 1.13 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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-added-large-files
args: ["--maxkb=600"]
- id: check-case-conflict
- id: check-yaml # some VCR recordings contain PyYAML tags pre-commit doesn't understand
exclude: tests/lantern_tests/x_workflows/cassettes/test_non_interactive/TestPublishingWorkflow\.test_run\.yaml$
- id: check-toml # for pyproject.toml
- id: check-merge-conflict
- id: trailing-whitespace
exclude: \.pxd$
- id: end-of-file-fixer
exclude: \.pxd$
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.9
hooks:
- id: ruff-check
- id: ruff-format
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.11.3
hooks:
- id: uv-lock
- repo: local
hooks:
- id: ty
name: ty check
entry: uvx --offline ty@0.0.26 check src/ --ignore unresolved-import
pass_filenames: false
language: python
- repo: https://github.com/jackdewinter/pymarkdown
rev: v0.9.36
hooks:
- id: pymarkdown