-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
70 lines (66 loc) · 1.84 KB
/
.pre-commit-config.yaml
File metadata and controls
70 lines (66 loc) · 1.84 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
65
66
67
68
69
70
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.12
hooks:
- id: ruff-check
args: [--fix]
- id: ruff-format
- repo: https://github.com/DetachHead/basedpyright-pre-commit-mirror
rev: 1.39.3
hooks:
- id: basedpyright
pass_filenames: false
always_run: true
- repo: https://github.com/jendrikseipp/vulture
rev: v2.16
hooks:
- id: vulture
- repo: https://github.com/rubik/xenon
rev: v0.9.3
hooks:
- id: xenon
pass_filenames: false
always_run: true
args:
- --max-absolute=A
- --max-modules=A
- --max-average=A
- yt_framework
- ytjobs
- repo: local
hooks:
- id: tach-check
name: tach check
entry: tach check
language: python
pass_filenames: false
always_run: true
additional_dependencies: ["tach==0.35.0"]
- id: tach-external
name: tach check-external
entry: tach check-external
language: python
pass_filenames: false
always_run: true
additional_dependencies: ["tach==0.35.0"]
- id: yt-framework-pre-commit-policy
name: yt-framework pre-commit policy
entry: python scripts/precommit/run.py
language: python
pass_filenames: false
always_run: true
- id: pytest
name: pytest + line coverage gate (yt_framework + ytjobs)
entry: python scripts/coverage/run_pytest_line_gate.py
language: python
pass_filenames: false
always_run: true
additional_dependencies:
- botocore==1.35.99
- boto3==1.35.99
- ytsaurus-client>=0.13.0
- duckdb>=1.0.0
- omegaconf>=2.3.0
- PyYAML>=6.0
- pytest>=7.0.0
- pytest-cov>=4.0.0