playbook/templates/python/.flake8

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