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

@@ -1,10 +1,8 @@
"""记忆准备界面"""
from textual.app import ComposeResult
from textual.containers import ScrollableContainer, Container, Horizontal
from textual.reactive import reactive
from textual.containers import ScrollableContainer, Horizontal
from textual.screen import Screen
from textual.widget import Widget
from textual.widgets import (
Button,
Footer,
@@ -12,15 +10,13 @@ from textual.widgets import (
Label,
Markdown,
Static,
Rule,
Sparkline,
)
from textual.lazy import Reveal, Lazy
from textual.lazy import Reveal
from textual import events, on
import heurams.kernel.particles as pt
import heurams.services.hasher as hasher
from heurams.context import *
from heurams.context import config_var
from heurams.kernel.repolib import *