perf: 用 autoflake 删除无用依赖

没想到居然能意外地大幅提升启动速度
This commit is contained in:
2026-04-22 06:44:59 +08:00
parent 093034828b
commit b9d88383f9
38 changed files with 184 additions and 703 deletions

View File

@@ -40,7 +40,6 @@ class BaseAlgorithm:
feedback,
is_new_activation,
)
pass
@classmethod
def is_due(cls, algodata) -> int:

View File

@@ -17,11 +17,7 @@ from heurams.context import config_var
from heurams.kernel.algorithms.sm15m_calc import (
MAX_AF,
MIN_AF,
NOTCH_AF,
RANGE_AF,
RANGE_REPETITION,
SM,
THRESHOLD_RECALL,
Item,
)

View File

@@ -39,7 +39,6 @@ import datetime
import json
import math
import sys
from typing import Any, Callable, Dict, List, Optional, Tuple
# ============================================================================
# Global Constants