Skip to content

Commit 80f127d

Browse files
author
luk384090-cloud
committed
style(v2): Format function parameters to comply with code style guidelines
1 parent 1070c02 commit 80f127d

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎dashscope/v2/_config.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,8 @@ def _api_key_from_file() -> Optional[str]:
543543

544544

545545
def save_api_key(
546-
api_key: str, api_key_file_path: Optional[str] = None
546+
api_key: str,
547+
api_key_file_path: Optional[str] = None,
547548
) -> None:
548549
"""Store an api key in the key file ``_api_key_from_file`` reads back.
549550

‎tests/v2/test_config.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,9 @@ def test_save_api_key_writes_the_default_path(
483483

484484

485485
def test_save_api_key_accepts_a_bare_filename(
486-
clean_env, tmp_path, monkeypatch
486+
clean_env,
487+
tmp_path,
488+
monkeypatch,
487489
):
488490
from dashscope.v2 import save_api_key
489491

0 commit comments

Comments
 (0)