Files
countbot-ai__countbot/.flake8
T
w 293fcd627b 初始化: 项目基础配置与文档
- 添加 .gitignore、LICENSE (MIT)、README.md
- 添加 CONTRIBUTING.md 贡献指南
- 添加 requirements.txt 依赖清单
- 添加 .flake8 代码风格配置
2026-02-21 09:47:35 +08:00

33 lines
553 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]
# 最大行长度
max-line-length = 100
# 忽略的错误代码
ignore =
# E203: whitespace before ':'(与 black 冲突)
E203,
# W503: line break before binary operator与 PEP 8 更新冲突)
W503,
# E501: line too long已通过 max-line-length 控制)
E501
# 排除的目录
exclude =
.git,
__pycache__,
.venv,
venv,
ENV,
env,
build,
dist,
*.egg-info,
.eggs,
frontend,
website,
data,
.github
# 每个文件的最大复杂度
max-complexity = 10