📝 docs(playbook): add contributing and multi-language standards

Introduce C++ and Python docs/templates and split .agents rulesets by language (tsl/cpp/python).

Move commit message guidance to CONTRIBUTING.md (full spec remains in docs/common/commit_message.md).
This commit is contained in:
csh
2025-12-14 17:32:50 +08:00
parent 380228caca
commit e504a689dc
47 changed files with 1521 additions and 162 deletions
+27
View File
@@ -0,0 +1,27 @@
[flake8]
# 最大行长度(Google Style Guide 推荐 80
max-line-length = 80
# 忽略的错误代码(与 black 等工具对齐)
ignore =
E203, # whitespace before ':' (与 black 冲突)
W503, # line break before binary operator (已过时的规则)
exclude =
.git,
__pycache__,
.venv,
venv,
build,
dist,
*.egg-info,
.tox,
.pytest_cache
max-complexity = 10
show-source = True
show-pep8 = True
count = True
docstring-convention = google