Merge commit 'ac794a6a7051497ff60b947642d44f0f8c04d6c6' into lsp-server

This commit is contained in:
csh
2026-01-08 15:56:37 +08:00
113 changed files with 254751 additions and 176 deletions
@@ -1,6 +1,7 @@
# Python 代理规则集(.agents/python
本规则集用于存放 **AI/自动化代理在仓库内工作时必须遵守的规则**Python 语言专属)。
本规则集用于存放
**AI/自动化代理在仓库内工作时必须遵守的规则**Python 语言专属)。
## 范围与优先级
@@ -28,7 +29,8 @@
- 格式化与静态检查:优先使用仓库既有配置(`pyproject.toml``.flake8``.pylintrc``.pre-commit-config.yaml`);不要在未沟通前切换到另一套工具链。
- import 顺序:遵守 `isort profile = google`(若启用)。
- 文档字符串:Google 风格(与 `.flake8`/团队约定对齐)。
- 命名:遵循 `docs/python/style_guide.md` 中的约定;如与既有代码冲突,以局部一致性优先。
- 命名:遵循 `docs/python/style_guide.md`
中的约定;如与既有代码冲突,以局部一致性优先。
## 与开发规范的关系