Commit 69cb590
Add ctc-asr task_type + generation.lang to YAML schema
- testdata/cases/schema.json: register 'ctc-asr' in the task_type enum
and add 'lang' under generation properties so the new mms-1b-all
case validates. yaml_schema_test now passes (225/225).
- Drop suppressible try/except in _generate_ctc_asr (RUFF/SIM105) in
favour of contextlib.suppress.
- Ruff-format blank line in _registry.py.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Justin Chu <11205048+justinchuby@users.noreply.github.com>1 parent b598291 commit 69cb590
3 files changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
838 | 839 | | |
839 | 840 | | |
840 | 841 | | |
| 842 | + | |
| 843 | + | |
841 | 844 | | |
842 | | - | |
| 845 | + | |
843 | 846 | | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | 847 | | |
849 | 848 | | |
850 | 849 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
| 669 | + | |
669 | 670 | | |
670 | 671 | | |
671 | 672 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
134 | 139 | | |
135 | 140 | | |
136 | 141 | | |
| |||
0 commit comments