forked from kyutai-labs/moshi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
40 lines (39 loc) · 1.23 KB
/
.pre-commit-config.yaml
File metadata and controls
40 lines (39 loc) · 1.23 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
repos:
- repo: local
hooks:
- id: flake8-moshi
name: flake8 on moshi package
language: system
entry: bash -c 'cd moshi && flake8'
pass_filenames: false
always_run: true
- id: pyright-moshi
name: pyright on moshi package
language: system
entry: scripts/run_ci_when_installed.sh moshi 'cd moshi && pyright'
pass_filenames: false
always_run: true
- id: tests-moshi
name: pytests on moshi package
language: system
entry: scripts/run_ci_when_installed.sh moshi 'cd moshi && pytest tests'
pass_filenames: false
always_run: true
- id: ruff-moshi_mlx
name: ruff on moshi_mlx package
language: system
entry: bash -c 'cd moshi_mlx && uvx ruff check'
pass_filenames: false
always_run: true
- id: ruff-format-moshi_mlx
name: ruff format on moshi_mlx package
language: system
entry: bash -c 'cd moshi_mlx && uvx ruff format --check'
pass_filenames: false
always_run: true
- id: pyright-moshi_mlx
name: pyright on moshi_mlx package
language: system
entry: scripts/run_ci_when_installed.sh moshi_mlx 'cd moshi_mlx && pyright'
pass_filenames: false
always_run: true