fix: baidu_qianfan error #4947 #9548
Annotations
10 errors and 1 warning
Ruff (I001):
src/backend/tests/unit/components/models/test_baidu_qianfan.py#L1
src/backend/tests/unit/components/models/test_baidu_qianfan.py:1:1: I001 Import block is un-sorted or un-formatted
|
Ruff (D415):
src/backend/tests/unit/components/models/test_baidu_qianfan.py#L10
src/backend/tests/unit/components/models/test_baidu_qianfan.py:10:5: D415 First line should end with a period, question mark, or exclamation point
|
Ruff (D415):
src/backend/tests/unit/components/models/test_baidu_qianfan.py#L20
src/backend/tests/unit/components/models/test_baidu_qianfan.py:20:5: D415 First line should end with a period, question mark, or exclamation point
|
Ruff (PT012):
src/backend/tests/unit/components/models/test_baidu_qianfan.py#L29
src/backend/tests/unit/components/models/test_baidu_qianfan.py:29:5: PT012 `pytest.raises()` block should contain a single simple statement
|
Ruff (B017):
src/backend/tests/unit/components/models/test_baidu_qianfan.py#L29
src/backend/tests/unit/components/models/test_baidu_qianfan.py:29:10: B017 `pytest.raises(Exception)` should be considered evil
|
Ruff (PT011):
src/backend/tests/unit/components/models/test_baidu_qianfan.py#L29
src/backend/tests/unit/components/models/test_baidu_qianfan.py:29:24: PT011 `pytest.raises(Exception)` is too broad, set the `match` parameter or use a more specific exception
|
Ruff (D415):
src/backend/tests/unit/components/models/test_baidu_qianfan.py#L36
src/backend/tests/unit/components/models/test_baidu_qianfan.py:36:5: D415 First line should end with a period, question mark, or exclamation point
|
Ruff (PT012):
src/backend/tests/unit/components/models/test_baidu_qianfan.py#L45
src/backend/tests/unit/components/models/test_baidu_qianfan.py:45:5: PT012 `pytest.raises()` block should contain a single simple statement
|
Ruff (B017):
src/backend/tests/unit/components/models/test_baidu_qianfan.py#L45
src/backend/tests/unit/components/models/test_baidu_qianfan.py:45:10: B017 `pytest.raises(Exception)` should be considered evil
|
Ruff (PT011):
src/backend/tests/unit/components/models/test_baidu_qianfan.py#L45
src/backend/tests/unit/components/models/test_baidu_qianfan.py:45:24: PT011 `pytest.raises(Exception)` is too broad, set the `match` parameter or use a more specific exception
|
Ruff Style Check (3.12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|