Skip to content

Commit 2baf767

Browse files
style: dedupe pylint directives after merging the parallel CI fixes
The rebase auto-merge stacked both fix variants: keep the sync-consistent ones (extraction in handlers_key, async-for draining in test_tongyi_native) and drop the duplicated file-level disables.
1 parent 669b126 commit 2baf767

4 files changed

Lines changed: 1 addition & 4 deletions

File tree

‎dashscope/acli/cli/handlers_key.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
"""API key management command handlers."""
3-
# pylint: disable=too-many-branches,unused-argument,too-many-statements
3+
# pylint: disable=too-many-branches,unused-argument
44

55
from __future__ import annotations
66

‎tests/unit/test_banner_guide.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# -*- coding: utf-8 -*-
22
"""The startup banner surfaces the embedded host's guide link."""
3-
# pylint: disable=protected-access,unused-argument
43

54
# pylint: disable=protected-access,unused-argument
65

‎tests/unit/test_handlers_key_docs.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# -*- coding: utf-8 -*-
22
"""The no-key startup prompt points DashScope users at the doc links."""
3-
# pylint: disable=protected-access,redefined-outer-name,unused-argument
43

54
# pylint: disable=redefined-outer-name,unused-argument,protected-access
65

‎tests/unit/test_tongyi_native.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
and SSE chunks are reshaped to the OpenAI shape the parsing logic (and
99
the anthropic adapter path) was written against.
1010
"""
11-
# pylint: disable=redefined-outer-name,protected-access,expression-not-assigned
1211

1312
# pylint: disable=redefined-outer-name,protected-access
1413

0 commit comments

Comments
 (0)