Files
playbook/templates/python/.flake8
T
csh e504a689dc 📝 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).
2025-12-14 17:32:50 +08:00

28 lines
495 B
INI
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.
[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