Files
live-hub-py/TODO.md
T

23 lines
695 B
Markdown
Raw 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.
# 待办
## Ruff lint 清理
记录日期:2026-08-30
`uv run ruff check .` 当前发现 1263 条 lint 诊断。该事项暂不在本次处理,后续按批次清理并逐批运行 pytest、Pyright 和 Ruff 检查。
建议顺序:
1. `F401``F841`:未使用导入和变量。
2. `BLE001``S110``S112`:异常处理质量。
3. `B008`:FastAPI 依赖声明模式,区分真实问题与框架惯用写法。
4. `I001`:导入排序。
5. `UP045``UP007``UP017``UP035``UP006`:类型注解和 Python 版本语法现代化。
当前基线:
- Ruff lint1263 条
- Ruff format207 个文件全部通过
- pytest104 passed
- Pyright0 errors / 0 warnings