|
51 | 51 | # 2026-05-29 15:37:27.398322 |
52 | 52 | +dashscope/cli/deployments.py:109: error: Argument "suffix" to "call" of "Deployments" has incompatible type "Optional[str]"; expected "str" [arg-type] |
53 | 53 | +Found 4 errors in 3 files (checked 215 source files) |
| 54 | + |
| 55 | +# 2026-05-29 15:59:06.977206 |
| 56 | ++black....................................................................Failed |
| 57 | ++- hook id: black |
| 58 | ++- files were modified by this hook |
| 59 | ++ |
| 60 | ++reformatted dashscope/cli/__init__.py |
| 61 | ++ |
| 62 | ++All done! ✨ 🍰 ✨ |
| 63 | ++1 file reformatted, 215 files left unchanged. |
| 64 | ++ |
| 65 | + |
| 66 | +# 2026-05-29 16:00:15.929132 |
| 67 | ++dashscope/cli/__init__.py:17:1: E402 module level import not at top of file |
| 68 | ++dashscope/cli/__init__.py:19:1: E402 module level import not at top of file |
| 69 | ++dashscope/cli/__init__.py:20:1: E402 module level import not at top of file |
| 70 | ++ |
| 71 | + |
| 72 | +# 2026-05-29 16:01:52.931291 |
| 73 | ++dashscope/cli/__main__.py:12:1: F401 'sys' imported but unused |
| 74 | ++dashscope/cli/__main__.py:12:1: E402 module level import not at top of file |
| 75 | ++dashscope/cli/__main__.py:13:1: E402 module level import not at top of file |
| 76 | + |
| 77 | +# 2026-05-29 16:05:34.155763 |
| 78 | ++dashscope/cli/__main__.py:12:1: F401 'sys' imported but unused |
| 79 | ++dashscope/cli/__main__.py:12:1: E402 module level import not at top of file |
| 80 | ++dashscope/cli/__main__.py:13:1: E402 module level import not at top of file |
| 81 | ++ |
| 82 | + |
| 83 | +# 2026-05-29 16:06:53.900958 |
| 84 | ++************* Module dashscope.cli |
| 85 | ++dashscope/cli/__init__.py:17:0: C0413: Import "import typer" should be placed at the top of the module (wrong-import-position) |
| 86 | ++dashscope/cli/__init__.py:19:0: C0413: Import "import dashscope" should be placed at the top of the module (wrong-import-position) |
| 87 | ++dashscope/cli/__init__.py:20:0: C0413: Import "from dashscope.cli import deployments, files, fine_tunes, generation, oss" should be placed at the top of the module (wrong-import-position) |
| 88 | ++ |
| 89 | + |
| 90 | +# 2026-05-29 16:08:24.258486 |
| 91 | ++************* Module dashscope.cli.__main__ |
| 92 | ++dashscope/cli/__main__.py:12:0: C0413: Import "import sys" should be placed at the top of the module (wrong-import-position) |
| 93 | ++dashscope/cli/__main__.py:13:0: C0413: Import "from dashscope.cli import main" should be placed at the top of the module (wrong-import-position) |
| 94 | ++dashscope/cli/__main__.py:12:0: W0611: Unused import sys (unused-import) |
| 95 | ++ |
| 96 | + |
| 97 | +# 2026-05-29 16:12:38.911863 |
| 98 | ++pre-commit run --all-files |
| 99 | ++ |
0 commit comments