Conversation
- 修复问题: 修正 `ruff.toml` 与 `pyproject.toml` 中的版本声明不一致 * 将 `target-version` 从 "py312" 更新为 "py314" * 确保 Ruff 的 `pyupgrade` 规则能正确识别 Python 3.14 的新特性
- 重构优化: 移除 `typing_extensions` 依赖并采用 Python 3.10+ 原生语法 * 将 `from typing_extensions import deprecated` 替换为 `from warnings import deprecated` * 将 `Optional["ClassName"]` 重构为 `ClassName | None` * 将 `ClassVar[dict[str, "ClassName"]]` 等字符串前向引用移除 - 修复问题: 修正多处不符合 PEP 654 的异常捕获语法 * 将 `(OSError, PermissionError)` 元组形式改为 `OSError, PermissionError` 逗号分隔形式 * 涉及文件:`src/core/file_tracker.py`, `src/workspace/tools/stat_tool.py`, `src/workspace/tools/regex_search_tool.py`, `src/workspace/tools/exact_search_tool.py`
- 重构优化: 更新 GitHub Actions 配置以匹配项目目标环境 * 将 `actions/setup-python` 中的 `python-version` 从 '3.12' 修改为 '3.14' * 涉及任务:`Setup Python` (构建与测试阶段)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix #61