re-style: 格式化代码

This commit is contained in:
John Richard
2025-10-02 20:26:01 +08:00
parent ecb02cae31
commit 7923eafef3
263 changed files with 3103 additions and 3123 deletions

View File

@@ -1,9 +1,9 @@
from typing import List, Any, Tuple
from typing import Any
def dyn_select_top_k(
score: List[Tuple[Any, float]], jmp_factor: float, var_factor: float
) -> List[Tuple[Any, float, float]]:
score: list[tuple[Any, float]], jmp_factor: float, var_factor: float
) -> list[tuple[Any, float, float]]:
"""动态TopK选择"""
# 检查输入列表是否为空
if not score: