remove sentencepiece hard dep #518
ci.yml
on: push
Annotations
10 errors
Ruff (S101):
zeldarose/common.py#L147
zeldarose/common.py:147:9: S101 Use of `assert` detected
|
Ruff (S101):
zeldarose/datasets/mbart.py#L337
zeldarose/datasets/mbart.py:337:17: S101 Use of `assert` detected
|
Ruff (S101):
zeldarose/datasets/seq2seq.py#L32
zeldarose/datasets/seq2seq.py:32:9: S101 Use of `assert` detected
|
Ruff (S101):
zeldarose/datasets/seq2seq.py#L209
zeldarose/datasets/seq2seq.py:209:17: S101 Use of `assert` detected
|
Ruff (S101):
zeldarose/datasets/transform.py#L200
zeldarose/datasets/transform.py:200:17: S101 Use of `assert` detected
|
Ruff (F401):
zeldarose/tasks/mbart.py#L23
zeldarose/tasks/mbart.py:23:26: F401 `torchmetrics.SacreBLEUScore` imported but unused
|
Ruff (F841):
zeldarose/tasks/mbart.py#L129
zeldarose/tasks/mbart.py:129:13: F841 Local variable `num_tokens` is assigned to but never used
|
Ruff (C901):
zeldarose/tasks/mbart.py#L425
zeldarose/tasks/mbart.py:425:5: C901 `get_training_model` is too complex (12 > 10)
|
Ruff (E501):
zeldarose/tasks/rtd.py#L478
zeldarose/tasks/rtd.py:478:101: E501 Line too long (108 > 100)
|
Ruff (E501):
zeldarose/tasks/rtd.py#L501
zeldarose/tasks/rtd.py:501:101: E501 Line too long (108 > 100)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
dist-sdist
|
31.4 KB |
|
dist-wheel-py3.12-ubuntu-latest
|
37.5 KB |
|