Skip to content

Commit 56fa028

Browse files
committed
feat(ci): add github action unit_test
1 parent 199759e commit 56fa028

6 files changed

Lines changed: 6 additions & 1 deletion

File tree

dashscope/api_entities/encryption.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# -*- coding: utf-8 -*-
22
# Copyright (c) Alibaba, Inc. and its affiliates.
3+
# mypy: disable-error-code="annotation-unchecked"
34
import base64
45
import json
56
import os

dashscope/audio/asr/recognition.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# -*- coding: utf-8 -*-
22
# Copyright (c) Alibaba, Inc. and its affiliates.
3+
# mypy: disable-error-code="annotation-unchecked"
34

45
import json
56
import os

dashscope/audio/tts_v2/speech_synthesizer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# -*- coding: utf-8 -*-
22
# Copyright (c) Alibaba, Inc. and its affiliates.
3+
# mypy: disable-error-code="annotation-unchecked"
34

45
import json
56
import platform

dashscope/multimodal/multimodal_request_params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- coding: utf-8 -*-
2+
# mypy: disable-error-code="annotation-unchecked"
23
from dataclasses import dataclass, field
34
import uuid
45

dashscope/tokenizers/qwen_tokenizer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# -*- coding: utf-8 -*-
22
# Copyright (c) Alibaba, Inc. and its affiliates.
3+
# mypy: disable-error-code="annotation-unchecked"
34

45
import base64
56
import unicodedata

tests/unit/http_task_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async def async_call( # type: ignore[override]
2222
is_binary_input=False,
2323
**kwargs,
2424
) -> DashScopeAPIResponse:
25-
return await super().async_call(
25+
return await super().async_call( # type: ignore[misc]
2626
model=model,
2727
task_group=task_group,
2828
task=task,

0 commit comments

Comments
 (0)