2025-12-02 18:54:14 +08:00

18 lines
543 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 1. 修复缩进错误
### app/models/video.py
- [x]`from typing import List` 移到文件顶部导入区域
- [x] 修复 `find_all` 方法的缩进
### app/services/analysis_service.py
- [x] 删除类定义中间重复的 `from typing import List` 导入语句
- [x] 修复 `compare_videos` 方法的缩进
### app/utils/validators.py
- [x]`from typing import Tuple` 移到文件顶部导入区域
- [x] 修复 `validate_file_size` 函数的缩进
### 验证
- [x] 验证所有文件代码语法正确lint 检查通过)