File tree 3 files changed +20
-0
lines changed
3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ repos :
2
+ - repo : https://github.com/pre-commit/pre-commit-hooks
3
+ rev : v4.5.0
4
+ hooks :
5
+ - id : trailing-whitespace
6
+ - repo : https://github.com/pycqa/flake8
7
+ rev : ' 3.8.2'
8
+ hooks :
9
+ - id : flake8
10
+ - repo : https://github.com/pre-commit/mirrors-yapf
11
+ rev : ' v0.32.0'
12
+ hooks :
13
+ - id : yapf
14
+ - repo : https://gitlab.com/daverona/pre-commit/cpp
15
+ rev : ' 0.8.0'
16
+ hooks :
17
+ - id : cpplint
18
+ - id : clang-format
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ git clone https://github.com/wenet-e2e/wenet.git
59
59
conda create -n wenet python=3.8
60
60
conda activate wenet
61
61
pip install -r requirements.txt
62
+ pre-commit install # for clean and tidy code
62
63
```
63
64
64
65
** Build for deployment**
Original file line number Diff line number Diff line change 19
19
deepspeed
20
20
librosa
21
21
openai-whisper
22
+ pre-commit == 3.5.0
You can’t perform that action at this time.
0 commit comments