📝 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user