[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

