perf: 用 autoflake 删除无用依赖
没想到居然能意外地大幅提升启动速度
This commit is contained in:
@@ -40,7 +40,6 @@ class BaseAlgorithm:
|
||||
feedback,
|
||||
is_new_activation,
|
||||
)
|
||||
pass
|
||||
|
||||
@classmethod
|
||||
def is_due(cls, algodata) -> int:
|
||||
|
||||
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
@@ -39,7 +39,6 @@ import datetime
|
||||
import json
|
||||
import math
|
||||
import sys
|
||||
from typing import Any, Callable, Dict, List, Optional, Tuple
|
||||
|
||||
# ============================================================================
|
||||
# Global Constants
|
||||
|
||||
Reference in New Issue
Block a user