加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.style.yapf 450 Bytes
一键复制 编辑 原始数据 按行查看 历史
Zachary Anderson 提交于 2022-06-03 13:00 . Adds a python formatter (#33797)
[style]
based_on_style = yapf
# Defined in https://github.com/google/yapf/blob/20d0c8f1774cf3843f4032f3e9ab02338bf98c75/yapf/yapflib/style.py#L326
# Docs and full list of knobs:
# https://github.com/google/yapf#knobs
split_before_first_argument = true
blank_line_before_module_docstring = true
# dedent_closing_brackets is required by coalesce_brackets
dedent_closing_brackets = true
coalesce_brackets = true
each_dict_entry_on_separate_line = false
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化