refactor: 调整模块导入路径,简化引用结构
- 更新 openspec/config.yaml 中 git 任务相关说明 - 将 scripts.core.* 改为 core.*,scripts.readers.* 改为 readers.* - 优化 lyxy_document_reader.py 中 sys.path 设置方式 - 同步更新所有测试文件的导入路径
This commit is contained in:
@@ -4,9 +4,9 @@ import os
|
||||
import tempfile
|
||||
from typing import List, Optional, Tuple
|
||||
|
||||
from scripts.readers.base import BaseReader
|
||||
from scripts.utils import is_url
|
||||
from scripts.utils import encoding_detection
|
||||
from readers.base import BaseReader
|
||||
from utils import is_url
|
||||
from utils import encoding_detection
|
||||
|
||||
from . import cleaner
|
||||
from .downloader import download_html
|
||||
|
||||
Reference in New Issue
Block a user