执行 Ruff 安全自动修复
This commit is contained in:
@@ -2,10 +2,9 @@
|
||||
|
||||
import json
|
||||
import re
|
||||
from typing import Optional
|
||||
|
||||
|
||||
def parse_proxy_response(text: str) -> tuple[list[str], Optional[str]]:
|
||||
def parse_proxy_response(text: str) -> tuple[list[str], str | None]:
|
||||
"""
|
||||
解析代理 API 响应,支持 JSON 格式与旧版纯文本格式。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user