Skip to content

Commit fab6574

Browse files
magic-akariylzz1997
authored andcommitted
feat: add Ruff as github action
1 parent c0125ac commit fab6574

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

.github/workflows/ruff.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: Ruff
2+
on: [push, pull_request]
3+
jobs:
4+
ruff:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v3
8+
- uses: chartboost/ruff-action@v1

.gitignore

+1-8
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ results
150150
inference/chunks_temp.json
151151
logs
152152
hubert/checkpoint_best_legacy_500.pt
153-
pretrain/**/*.pt
154153
configs/config.json
155154
filelists/test.txt
156155
filelists/train.txt
@@ -162,11 +161,5 @@ filelists/val.txt
162161
.idea/vcs.xml
163162
.idea/inspectionProfiles/profiles_settings.xml
164163
.idea/inspectionProfiles/Project_Default.xml
165-
pretrain/vec-768-layer-12.onnx
166-
pretrain/hubert-soft.onnx
167-
pretrain/hubert4.0.onnx
168-
pretrain/vec-256-layer-9.onnx
169-
pretrain/vec-256-layer-12.onnx
170-
pretrain/vec-768-layer-9.onnx
164+
pretrain/
171165
.vscode/launch.json
172-
.ruff.toml

.ruff.toml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
select = ["E", "F", "I"]
2+
3+
# Never enforce `E501` (line length violations).
4+
ignore = ["E501"]

0 commit comments

Comments
 (0)