Refactor discrete material cleaner to improve maintainability and testability: - Introduce dependency injection pattern for service components - Add interfaces (IPageNavigator, IMaterialExtractor, IDeletionChecker) - Extract PageNavigator service for page navigation logic - Extract MaterialExtractor service for data extraction - Extract DatabaseDeletionChecker service for deletion logic - Add MaterialInfo data model for structured data - Centralize configuration (CleanerConfig, UIConstants) - Implement separation of concerns across services layer Also includes comprehensive execution mechanism documentation. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
7 lines
183 B
Python
7 lines
183 B
Python
"""配置模块 - 集中管理应用配置"""
|
|
|
|
from config.ui_constants import UIConstants
|
|
from config.cleaner_config import CleanerConfig
|
|
|
|
__all__ = ["UIConstants", "CleanerConfig"]
|