Files
lyxy-document/scripts/utils/__init__.py
lanyuanxiaoyao 725b91374f refactor: 删除未使用的 detect_file_type 函数
- 移除 scripts/utils/file_detection.py 中的 _FILE_TYPE_VALIDATORS 字典
- 移除 scripts/utils/file_detection.py 中的 detect_file_type 函数
- 从 scripts/utils/__init__.py 中移除 detect_file_type 的导入和导出
2026-03-10 23:31:18 +08:00

26 lines
422 B
Python

"""Utils module for lyxy-document."""
from .file_detection import (
is_valid_docx,
is_valid_pptx,
is_valid_xlsx,
is_valid_pdf,
is_valid_doc,
is_valid_xls,
is_valid_ppt,
is_html_file,
is_url,
)
__all__ = [
"is_valid_docx",
"is_valid_pptx",
"is_valid_xlsx",
"is_valid_pdf",
"is_valid_doc",
"is_valid_xls",
"is_valid_ppt",
"is_html_file",
"is_url",
]